Sample ibeacon on ESP32


Venkat Vallapaneni
 

Hi,
I am trying to run ibeacon sample on ESP32.
I have ESP-IDF checked out version: b2ff235bd00 and latest zephyr from git.

Here is the log I am getting:

***** Booting Zephyr OS v1.12.0-786-g6b01c89 *****
Starting iBeacon Dmo
[bt] [ERR] bt_enable: No HCI driver registered
Bluetooth init failed (err -19)

Please help me in resolving this. These are the HCI driver options:

#
 # Bluetooth HCI Driver Options
 #
 CONFIG_BT_UART=y
 CONFIG_BT_H4=y
 # CONFIG_BT_H5 is not set
 # CONFIG_BT_NO_DRIVER is not set
 CONFIG_BT_UART_ON_DEV_NAME="UART_0"
 # CONFIG_BT_NRF51_PM is not set
 # CONFIG_IEEE802154 is not set

Rgds,
Venkat.


Carles Cufi
 

Hi Venkat,

 

I don’t think Bluetooth is  supported on ESP32 yet.

 

Regards,

 

Carles

 

From: users@... <users@...> On Behalf Of Venkat Vallapaneni
Sent: 15 July 2018 15:37
To: Zephyr-users@...
Subject: [Zephyr-users] Sample ibeacon on ESP32

 

Hi,

I am trying to run ibeacon sample on ESP32.

I have ESP-IDF checked out version: b2ff235bd00 and latest zephyr from git.

 

Here is the log I am getting:

 

***** Booting Zephyr OS v1.12.0-786-g6b01c89 *****

Starting iBeacon Dmo

[bt] [ERR] bt_enable: No HCI driver registered

Bluetooth init failed (err -19)

 

Please help me in resolving this. These are the HCI driver options:

 

#
 # Bluetooth HCI Driver Options
 #
 CONFIG_BT_UART=y
 CONFIG_BT_H4=y
 # CONFIG_BT_H5 is not set
 # CONFIG_BT_NO_DRIVER is not set
 CONFIG_BT_UART_ON_DEV_NAME="UART_0"
 # CONFIG_BT_NRF51_PM is not set
 # CONFIG_IEEE802154 is not set

 

Rgds,

Venkat.


Venkat Vallapaneni
 

Hi Carles,
Thanks for quick reply.

On Sun, Jul 15, 2018 at 10:13 PM, Cufi, Carles <Carles.Cufi@...> wrote:

Hi Venkat,

 

I don’t think Bluetooth is  supported on ESP32 yet.

 

Regards,

 

Carles

 

From: users@... <users@...> On Behalf Of Venkat Vallapaneni
Sent: 15 July 2018 15:37
To: Zephyr-users@lists.zephyrproject.org
Subject: [Zephyr-users] Sample ibeacon on ESP32

 

Hi,

I am trying to run ibeacon sample on ESP32.

I have ESP-IDF checked out version: b2ff235bd00 and latest zephyr from git.

 

Here is the log I am getting:

 

***** Booting Zephyr OS v1.12.0-786-g6b01c89 *****

Starting iBeacon Dmo

[bt] [ERR] bt_enable: No HCI driver registered

Bluetooth init failed (err -19)

 

Please help me in resolving this. These are the HCI driver options:

 

#
 # Bluetooth HCI Driver Options
 #
 CONFIG_BT_UART=y
 CONFIG_BT_H4=y
 # CONFIG_BT_H5 is not set
 # CONFIG_BT_NO_DRIVER is not set
 CONFIG_BT_UART_ON_DEV_NAME="UART_0"
 # CONFIG_BT_NRF51_PM is not set
 # CONFIG_IEEE802154 is not set

 

Rgds,

Venkat.



Matthias Boesl
 

Hi Venkat,

if you want to work on zephyr + ESP32 the current state is:

you can enable the ESP-IDF bootloader by using CONFIG_BOOTLOADER_ESP_IDF

together with this PR:

you can execute code from flash.

What's missing is the port of the OS agnostic ESP32 WiFi stack introduced in ESP-IDF 3.1,

we got the ESP WiFi stack linking on our side, but there is still a lot of work to be done in order to get all API wrappers for OS/netstack working.

Feel free to contact me, in case you need more info.

Best Regards,

Matthias

On Mon, Jul 16, 2018 at 6:01 AM Venkat Vallapaneni <venkat@...> wrote:
Hi Carles,
Thanks for quick reply.

On Sun, Jul 15, 2018 at 10:13 PM, Cufi, Carles <Carles.Cufi@...> wrote:

Hi Venkat,

 

I don’t think Bluetooth is  supported on ESP32 yet.

 

Regards,

 

Carles

 

From: users@... <users@...> On Behalf Of Venkat Vallapaneni
Sent: 15 July 2018 15:37
To: Zephyr-users@...
Subject: [Zephyr-users] Sample ibeacon on ESP32

 

Hi,

I am trying to run ibeacon sample on ESP32.

I have ESP-IDF checked out version: b2ff235bd00 and latest zephyr from git.

 

Here is the log I am getting:

 

***** Booting Zephyr OS v1.12.0-786-g6b01c89 *****

Starting iBeacon Dmo

[bt] [ERR] bt_enable: No HCI driver registered

Bluetooth init failed (err -19)

 

Please help me in resolving this. These are the HCI driver options:

 

#
 # Bluetooth HCI Driver Options
 #
 CONFIG_BT_UART=y
 CONFIG_BT_H4=y
 # CONFIG_BT_H5 is not set
 # CONFIG_BT_NO_DRIVER is not set
 CONFIG_BT_UART_ON_DEV_NAME="UART_0"
 # CONFIG_BT_NRF51_PM is not set
 # CONFIG_IEEE802154 is not set

 

Rgds,

Venkat.



Venkat Vallapaneni
 

HI Matthias,
Thanks for your inputs. I will try.

Rgds,
Venkat.

On Mon, Jul 16, 2018 at 12:13 PM, Matthias Bösl <matthias.boesl@...> wrote:
Hi Venkat,

if you want to work on zephyr + ESP32 the current state is:

you can enable the ESP-IDF bootloader by using CONFIG_BOOTLOADER_ESP_IDF

together with this PR:

you can execute code from flash.

What's missing is the port of the OS agnostic ESP32 WiFi stack introduced in ESP-IDF 3.1,

we got the ESP WiFi stack linking on our side, but there is still a lot of work to be done in order to get all API wrappers for OS/netstack working.

Feel free to contact me, in case you need more info.

Best Regards,

Matthias

On Mon, Jul 16, 2018 at 6:01 AM Venkat Vallapaneni <venkat@...> wrote:
Hi Carles,
Thanks for quick reply.

On Sun, Jul 15, 2018 at 10:13 PM, Cufi, Carles <Carles.Cufi@...> wrote:

Hi Venkat,

 

I don’t think Bluetooth is  supported on ESP32 yet.

 

Regards,

 

Carles

 

From: users@... <users@...> On Behalf Of Venkat Vallapaneni
Sent: 15 July 2018 15:37
To: Zephyr-users@lists.zephyrproject.org
Subject: [Zephyr-users] Sample ibeacon on ESP32

 

Hi,

I am trying to run ibeacon sample on ESP32.

I have ESP-IDF checked out version: b2ff235bd00 and latest zephyr from git.

 

Here is the log I am getting:

 

***** Booting Zephyr OS v1.12.0-786-g6b01c89 *****

Starting iBeacon Dmo

[bt] [ERR] bt_enable: No HCI driver registered

Bluetooth init failed (err -19)

 

Please help me in resolving this. These are the HCI driver options:

 

#
 # Bluetooth HCI Driver Options
 #
 CONFIG_BT_UART=y
 CONFIG_BT_H4=y
 # CONFIG_BT_H5 is not set
 # CONFIG_BT_NO_DRIVER is not set
 CONFIG_BT_UART_ON_DEV_NAME="UART_0"
 # CONFIG_BT_NRF51_PM is not set
 # CONFIG_IEEE802154 is not set

 

Rgds,

Venkat.