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

Deafness times for S130 and S132

UPDATE: Corrected language.

Hi, While experimenting with BLE mesh networking using S130 on nRF51 devices and S132 on nRF52 devices, we have a problem with deafness while receiving. We set the devices for continuous scanning, and intermittent advertising using the S130/S132 API.

This deafness seems to result from two interlinked reasons.

  1. The BLE scheduler in the SoftDevice seems to split time into time slots of Scan Interval size. For each slot, the node can either scan OR advertise. If you set the Scan Interval to 100ms, then sending one advertisement message means that the receiver is switched off for 100ms. During this time, the receiver misses all messages sent to it. In order to limit this deafness, one would like to decrease the Scan Interval.
  2. A short Scan Interval means that the receiver switches advertising channels often. During the channel switching, the node is deaf as well.

We are using S130 v2.0.1 on nRF51 devices and S132 v3.0.0 on nRF52 devices, all from the nRF5 SDK 12.2.0.

I would like to decrease this deafness time. I can see two solutions, please correct me if I am wrong.

  1. Switch to using the Timeslot API for transmitting, and keep the Scan Interval so long that the channel switching time becomes relatively short. This is a long term solution for us.
  2. I HOPE that other SoftDevices or newer versions of the same SoftDevice behaves in a better way, so it does not use a whole Scan Interval for sending one Advertisement Event. Is that so?

I would appreciate an answer especially to my HOPE in item 2 above.

regards, Elm

Related