Is bluetooth sample "peripheral" still working well?


Li, Jun R
 

Hi there,

I’m trying to rebase my project which is based on NRF51822 SoC from V1.13 to the latest version but found the application doesn’t work anymore. It seems the application suffers from some issues related to BT settings. To identify the issue, I tried the BLE sample “sample/Bluetooth/peripheral” with the board “nrf51_pca10028” which is the one I’m using. The build process ran well, and flashing was good. However, I found the sample application also suffers from the same issue I found on my project, as shown below:

 

***** Booting Zephyr OS zephyr-v1.13.0-2303-g55f091f *****

Bluetooth initialized

Advertising successfully started

[00:00:00.000,000] <inf> bt_hci_core.hci_vs_init: HW Platform: Nordic Semiconductor (0x0002)

[00:00:00.000,000] <inf> bt_hci_core.hci_vs_init: HW Variant: nRF51x (0x0001)

[00:00:00.000,000] <inf> bt_hci_core.hci_vs_init: Firmware: Standard Bluetooth controller (0x00) Version 1.13 Build 99

[00:00:00.000,000] <wrn> bt_hci_core.bt_init: No ID address. Expecting one to come from storage.

[00:00:00.000,000] <inf> bt_hci_core.bt_dev_show_info: Identity: <log_strdup alloc failed>

[00:00:00.000,000] <inf> bt_hci_core.bt_dev_show_info: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1

[00:00:00.000,000] <inf> bt_hci_core.bt_dev_show_info: LMP: version 5.0 (0x09) subver 0xffff

 

 

I found two issues:

  1. There are about 9 seconds delay between the first message “Bluetooth initialized” and the second one “Advertising successfully started” every time when the board restarts. Not sure what is blocking the booting process.
  2. I got a “No ID address” warning which is highlighted in red above. The problem never happened before. Is it a new feature? And Does any board need to be provisioned with an ID address before being used from now on?

 

Does anyone know if I’m missing something for correctly using this sample?

 

Thank you!

 

Jun Li @ Intel Corporation

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.