This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

multiple connect ,discover service multiple ,why?

when i use C:\Users\Administrator\Desktop\nRF5_sdk14.0.0_ble_central_beacon\examples\ble_central\ble_app_multilink_central for this instance ,I debug the discover moudle callback function ,however, this appear :

 0> db_discover event_type 1,uuid = 11 ,uuid_type =0OUTPUT    ble_dis_c_on_db_disc_evt  
 0> db_discover event_type 1,uuid = 11 ,uuid_type =0OUTPUT    ble_dis_c_on_db_disc_evt  
 0> db_discover event_type 1,uuid = 11 ,uuid_type =0OUTPUT    ble_dis_c_on_db_disc_evt  
 0> db_discover event_type 0,uuid = 1523 ,uuid_type =2    lbs servie sucdcess !
 0> LED Button service discovered on conn_handle 0x0
 0> OUTPUT    ble_dis_c_on_db_disc_evt  
 0> db_discover event_type 0,uuid = 1523 ,uuid_type =2    lbs servie sucdcess !
 0>  LED Button service discovered on conn_handle 0x0
 0> OUTPUT    ble_dis_c_on_db_disc_evt  

i dont know why lbs service discover twice , this is sdk14.0.0 , i think It should only find service once for each connection, can you tell me ? thanks!

Related