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

The ble_evt_dispatch function does not execute.

Hi! 

I use softdevice3.0.0 , SDK12.1.0, Keil IDE, PCA10040 Development board, 

I am going to create a multilink_central_NUS project using the ble_app_multilink_central example.

Immediately after turning on the power, it seems to work well.
However, after an irregular period of time, the softdevice seems to stop.

For testing, we made a periodic timer and toggled the LED every 5 seconds.
This confirmed that timer, uart, and gpio are working normally.
The ble_evt_dispatch function is not executed.
Is there a bug found for this?

If you need my project to check, I am willing to send you a project.

Parents Reply Children
  • I tried to capture the sniffer, but failed to create the capture environment. wireshark does not display information toolbars.
    I'm looking for a way to solve the problem in devzone.

    Separately, I think I found the cause of the problem using printf.
    I use nRF52832 as central and use iPhone as peripheral. iPhone will change its Mac address every 15 minutes.
    Symptoms occur when the Mac address of iPhone changes at the time of after sd_ble_gap_connect function in nRF52832 and before BLE_GAP_EVT_CONNECTED event occurs.

    Have you reported any of these issues?

  • Hi,

    It's normal that the iPhone change the advertising address every 15 minutes. But please clarify: 

    - How does your application work ? If there is a disconnection, and the phone advertises again, would you connect automatically ? How do you detect the phone to reconnect ?

    - Do you have bonding ? it should be fine if the phone change the address, the central should be able to detect the phone even if the address changed. 

Related