1 Reply Latest reply on Sep 9, 2015 12:55 AM by jixing.zou

    gatt discover characteristic no characteristic_declaration data reply

    jixing.zou

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

        • 1. Re: gatt discover characteristic no characteristic_declaration data reply
          jixing.zou

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