You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I use BT_LE_ADV_CONN_NAME as the first parameter to bt_le_adv_start, then the device name (as set in the prj.conf file) shows up correctly when scanning for devices using an iOS or Android app. However, when I use BT_LE_ADV_NCONN_NAME the name does not show up, even though BT_LE_ADV_OPT_USE_NAME is used in its definition in bluetooth.h.
Describe the bug
If I use
BT_LE_ADV_CONN_NAME
as the first parameter tobt_le_adv_start
, then the device name (as set in theprj.conf
file) shows up correctly when scanning for devices using an iOS or Android app. However, when I useBT_LE_ADV_NCONN_NAME
the name does not show up, even thoughBT_LE_ADV_OPT_USE_NAME
is used in its definition inbluetooth.h
.To Reproduce
Steps to reproduce the behavior:
BOARD=nrf52840_pca10056
: https://gist.github.com/jeremyherbert/62cbed007f2f0c1b5b1a550fd14726ecBT_LE_ADV_NCONN_NAME
inmain.c
toBT_LE_ADV_CONN_NAME
, build and flashExpected behavior
The name should be advertised in both cases
Impact
It makes finding the device very difficult in an area with lots of BLE devices.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: