- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I use function "wiced_bt_gatt_send_discover" to discovery characteristic_declaration of a service, but no event "GATT_DISCOVERY_RESULT_EVT" hanppened.
Please help.
discovery_param.s_handle = simpleContral.Service1.service.start_handle;
discovery_param.e_handle = simpleContral.Service1.service.end_handle;
wiced_bt_gatt_send_discover(simpleContral.connected_id, GATT_DISCOVER_CHARACTERISTICS, &discovery_param);
Solved! Go to Solution.
- Labels:
-
SDK 3.x
-
Wifi+Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Sorry, this is my negligence. Now it work well.
memset( &discovery_param.uuid, 0, sizeof( discovery_param.uuid ) );
discovery_param.s_handle = simpleContral.Service1.service.start_handle;
discovery_param.e_handle = simpleContral.Service1.service.end_handle;
wiced_bt_gatt_send_discover(simpleContral.connected_id, GATT_DISCOVER_CHARACTERISTICS, &discovery_param);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Sorry, this is my negligence. Now it work well.
memset( &discovery_param.uuid, 0, sizeof( discovery_param.uuid ) );
discovery_param.s_handle = simpleContral.Service1.service.start_handle;
discovery_param.e_handle = simpleContral.Service1.service.end_handle;
wiced_bt_gatt_send_discover(simpleContral.connected_id, GATT_DISCOVER_CHARACTERISTICS, &discovery_param);