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

Still trouble with BLE_GATTC_EVT_TIMEOUT

Hello,

I was having a lot of trouble with BLE_GATTC_EVT_TIMEOUT on the nRF51 and softdevice v2. But now I continue to have the same problems on an nRF52 with Softdevice v5.1.0. Below is a short description of what I am doing:

- Forming a scatternet of multiple nodes as a spanning tree using https://github.com/mwaylabs/fruitymesh/

- Sending data through this network with both WRITE_REQ and WRITE_CMD

- All network participants are the same nRF52 chipset with S132 5.1.0

=> When I send a larger numbe rof WRITE_REQ, some of my nodes will randomly run into the BLE_GATTC_EVT_TIMEOUT. This does not happen when I only send WRITE_CMD.

This seems to be a Softdevice Bug and I now reverted and went back to using WRITE_CMD, but this is not a solution. I have used WRITE_CMD for a long time now to mitigate the issue, but I thought this would have been fixed in the latest Softdevice.

See here my old questions about the same issue:

https://devzone.nordicsemi.com/f/nordic-q-a/19878/ble_gattc_evt_timeout-possible-causes/77361#77361

https://devzone.nordicsemi.com/f/nordic-q-a/11142/connection-stability-with-s130/41760#41760

Parents
  • Hi Marius, 

    I'm sorry that this old issue is remained after a long time. Could you please make a fresh sniffer trace with the new softdevice ? 

    It would be the best if we can find a way to reproduce the issue here with the minimal code. 

  • Hello, I will be on parental leave for some time, so I might need to do that at a later time. i was hoping that this was a known issue or that it was reproducable with the old traces. As this happens very infrequently and in my case in a network with around 70 nodes, it is very hard for me to track down. I think it should happen when setting up a device with a peripheral and 3 central connections and then sending a mixture of write_cmd and write_req from all nodes to flood the small network of 4 nodes. But I don't currently have the time to set this up.

  • Hi Marius, 

    We will try to reproduce the issue here.

    The biggest challenge is that it happened for you infrequently and we are not 100% sure it would be possible to reproduce with a small network. Last time (on the trace 2 years ago) we concluded that there was something that triggered a disconnection after 30 seconds. There was a corrupted packet at the point of interest but we are not sure if that triggered the issue. 

    How infrequently have you experienced the issue ? Just so we know what to expect. 

Reply
  • Hi Marius, 

    We will try to reproduce the issue here.

    The biggest challenge is that it happened for you infrequently and we are not 100% sure it would be possible to reproduce with a small network. Last time (on the trace 2 years ago) we concluded that there was something that triggered a disconnection after 30 seconds. There was a corrupted packet at the point of interest but we are not sure if that triggered the issue. 

    How infrequently have you experienced the issue ? Just so we know what to expect. 

Children
Related