- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello_client project uses hardcoded handlers, How i can discover the handlers dynamically from the advertisement of services.. I have been looking for a long time for an example. Thanks.
Solved! Go to Solution.
- Labels:
-
BLE_PROFILE_CFG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi moe,
Unfortunately, we do not have any example to get the handlers dynamically. However, you can print the number of devices advertising and then connect to the required one based on the UUID or device name. You can change the UUID or connect to the required device by adding BTM_BLE_ADVERT_TYPE_NAME_COMPLETE parameter in API wiced_bt_ble_check_advertising_data().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi moe,
Unfortunately, we do not have any example to get the handlers dynamically. However, you can print the number of devices advertising and then connect to the required one based on the UUID or device name. You can change the UUID or connect to the required device by adding BTM_BLE_ADVERT_TYPE_NAME_COMPLETE parameter in API wiced_bt_ble_check_advertising_data().