BLE_HID_Keyboard example, how to insert part of the mac adress in gap device name

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

cross mob
user_1881301
Level 2
Level 2
First like received

hi,

   

to distinguish multiple connected devices on the paired bt list

   

how is the device name string/device address string accessed from the main.c code?

   

Thanks.

0 Likes
1 Solution
Anonymous
Not applicable

This is the one I use: CyBle_GapGetBondedDevicesByRank()

   

There are a few others that do the same thing with slight differences; Try looking at the API documentation under the BLE component for more information on specfic BLE-related functions.

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

This is the one I use: CyBle_GapGetBondedDevicesByRank()

   

There are a few others that do the same thing with slight differences; Try looking at the API documentation under the BLE component for more information on specfic BLE-related functions.

0 Likes