This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Primary services discovery stuck

Hello everyone,

I have two nRF51822 (PCA10024) which I want to communicate, one is a peripheral s110 and working properly with a batery service and a custom service, and the other is a central multilink (the example) s120. I have some trouble on the central about the services discovery because I've tried with two examples (ble_app_hrs_c_s120), and each time the program gets stuck on sd_ble_gattc_primary_services_discover. I've just changed the uuid parameter so I don't understand why it doesn't work, could you help me please ?

Thank you,

Théo

Parents
  • I just tested this with SoftDevice S120 2.0.0 and ble_app_hrs_c in SDK 8.0.0, it seems to be working fine. What SoftDevice and SDK version are you using? So you hit the breakpoint if you put it on m_dm_device_handle = (*p_handle); but not if you put it on err_code=ble_db_discovery_start(m_ble_db_discovery,p_event->event_param.p_gap_param->conn_handle); ?

Reply
  • I just tested this with SoftDevice S120 2.0.0 and ble_app_hrs_c in SDK 8.0.0, it seems to be working fine. What SoftDevice and SDK version are you using? So you hit the breakpoint if you put it on m_dm_device_handle = (*p_handle); but not if you put it on err_code=ble_db_discovery_start(m_ble_db_discovery,p_event->event_param.p_gap_param->conn_handle); ?

Children
No Data
Related