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

Missing connect requests

We are using the soft device (s140) in SDK version 16, our device is configured as a peripheral.

I have a program that connects to and then immediately disconnects from our peripheral device as fast as possible (obviously dependent on the advertising parameters, etc). I am monitoring the behaviour using Wireshark.

I find that occasionally the stack seems to miss the connection event even though I can see the connection request on Wireshark. I have put relevant debugging into the BLE event handler specified in  NRF_SDH_BLE_OBSERVER() and the connection event does not appear there. So it would seem that the stack is missing connection requests. Is this normal/possible? There is little or no other BT traffic.

Parents Reply
  • I could not find anything unusual in your log, regarding the missed connection request.

    Missing one in ten connection requests however does sound normal, depending on local interference(not just from other Bluetooth communication, but everything on the 2.4 GHz frequency). Normally the central will assume connection after a connection request, but when it falls through you can just send another connection request immediately.

    Best regards,
    Karl

Children
Related