Anonymous
Not applicable
Jan 26, 2018
02:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 26, 2018
02:30 AM
Hi everyone.
Do we have a possibility to get PUBLICK BT ADDRESS of remote device in BLE connection. For today in processing of event "GATT_CONNECTION_STATUS_EVT " (connect to android device) I take BT ADDRESS from struct type " wiced_bt_gatt_connection_status_t ". But according " addr_type " field, this event return BLE_ADDR_RANDOM. But I need to know BLE_ADDR_PUBLIC.
Do we have API or could somebody recommend me algorithm how to do it ?
Regards
Solved! Go to Solution.
1 Solution
Jan 30, 2018
12:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 30, 2018
12:04 AM
The addr_type is determined by peer side. If you case, the android device's addr_type is random, so you get the addr_type = RANDOM. If you want the public addr type, we need connect to a device which use the public address.
Regards
Jenson
3 Replies