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

problems in advertsing after disconnect

hiii....

1.can any one tell where do we call advertising_start() function if we want to advertise after getting disconnect from a central device.

2.in ble_evt_dispatch() function there are many functions ryt? eg: ble_dlogs_on_ble_evt(&m_dlogs, p_ble_evt); ble_conn_params_on_ble_evt(p_ble_evt); on_ble_evt(p_ble_evt);

when and how these works?

Parents
  • That is hard for me to say without being able to debug the code myself. That said, I have never seen a disconnect event not be sent up from the stack when a disconnect occurs. Perhaps you could keep counts of connect and disconnect events and when this occurs check the counts to see if you missed one?

Reply
  • That is hard for me to say without being able to debug the code myself. That said, I have never seen a disconnect event not be sent up from the stack when a disconnect occurs. Perhaps you could keep counts of connect and disconnect events and when this occurs check the counts to see if you missed one?

Children
No Data
Related