gatt discover characteristic no characteristic_declaration data reply

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

cross mob
Anonymous
Not applicable

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);

0 Likes
1 Solution
Anonymous
Not applicable

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);

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

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);

0 Likes