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

Are BLE Multiple roles or sequential roles preferable?

Hi,

Im working on a configuration where role switching is neccessary. 

The following is expected:

- all nodes will be advertising when "idle"

- nodes only need to be central when ready to send data to a node of choice

- an arbitrary number of advertising peripherals (maybe even up to 20 or more)

My question is whether there is a cost for using the multiple roles found in the softdevice,  compared to switching manually when needed?

My fears are:

1: if the peripheral role adverting uptime will be influenced by the Central role scanning?

i expect this not to be the case because of the word "parallel" being used https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fmultilink_scheduling%2Fpriorities_and_events_intro.html

2: What if two nodes end up being synchronised, meaning that they scan and advertise on the same time, and therefore consistantly miss each others advertisments ?

3: Will using the concurrent roles affect throughput between a connected  central and  peripheral?

I hope than my worries and questions were explained adequately!

Parents
  • Hi,

    1) There is 1 radio peripheral, so if you have a scanner that tries to take all the radio time(scan window == scan interval), then the advertiser will be influenced. If you see an issue with not enough advertisements being sent, you could e.g. decrease the scan window to reduce the amount of scheduling conflicts.

    2) Advertising events have a random delay in the range of 0 - 10 ms, so they will not stay synchronized.

    3) Yes. See this link.

    You might find this image helpful:

Reply
  • Hi,

    1) There is 1 radio peripheral, so if you have a scanner that tries to take all the radio time(scan window == scan interval), then the advertiser will be influenced. If you see an issue with not enough advertisements being sent, you could e.g. decrease the scan window to reduce the amount of scheduling conflicts.

    2) Advertising events have a random delay in the range of 0 - 10 ms, so they will not stay synchronized.

    3) Yes. See this link.

    You might find this image helpful:

Children
Related