How can I create dynamic Bluetooth Device Name?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ChCh_900901
Level 1
Level 1

I would like to use Bluetooth device address (last 24 bit) as part of the Bluetooth Device Name.  Is it possible we can program the device name before broadcasting the device name?  Thanks!

0 Likes
1 Solution
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

You can use CyBle_GapSetLocalName (const char8 name[]) function to configure the device local name before advertising. There is CyBle_GetDeviceAddress (CYBLE_GAP_BD_ADDR_T *bdAddr) to get the device address. For more details, please refer to Bluetooth Low Energy (BLE) datasheet.

View solution in original post

0 Likes
1 Reply
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

You can use CyBle_GapSetLocalName (const char8 name[]) function to configure the device local name before advertising. There is CyBle_GetDeviceAddress (CYBLE_GAP_BD_ADDR_T *bdAddr) to get the device address. For more details, please refer to Bluetooth Low Energy (BLE) datasheet.

0 Likes