- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any API or function to access the own public address of a Bluetooth device (in this case a PSoC4 BLE) when working as a server? And if possible also of the client that it is connected to?
I know that the Connection Handle (CYBLE_CONN_HANDLE_T) has a parameter uint8 bdHandle that identifies the peer device connected, but how can I access the public address of this device.
Thank you!
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rios,
By using the API CyBle_GetDeviceAddress() to get the device address irrespective server or client.
Refer BLE component datasheet for more details about this API.
It is recommended to call this API only after ble stack is ON.
use API CyBle_GapGetPeerBdAddr() to get the peer device address irrespective of server or client.
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rios,
By using the API CyBle_GetDeviceAddress() to get the device address irrespective server or client.
Refer BLE component datasheet for more details about this API.
It is recommended to call this API only after ble stack is ON.
use API CyBle_GapGetPeerBdAddr() to get the peer device address irrespective of server or client.
Regards,
Vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vikas,
Thank you very much for the support. Everything is running smoothly now.
Best regards,
Diego