Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sometimes ble_db_discovery_start never generates the callback

I have a client device that normally is able to call ble_db_discovery_start and get the callback just fine and is able to complete the db discovery process.  However sometimes I am never getting the call back generated.  Is there anyway to know that it failed in those cases? Any idea why the callback might never be generated?

Parents
  • The code i am running is based off nRF5_SDK_14.2.0_17b948a\examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput

    it includes a call to sd_ble_gap_phy_update immediately after a call to ble_db_discovery_start.  If I removed the phy update it seems to function 100% of the time.  Are there some timing constraints with how those two calls can be made?

Reply
  • The code i am running is based off nRF5_SDK_14.2.0_17b948a\examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput

    it includes a call to sd_ble_gap_phy_update immediately after a call to ble_db_discovery_start.  If I removed the phy update it seems to function 100% of the time.  Are there some timing constraints with how those two calls can be made?

Children
No Data
Related