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

nRF51 beacon high frequency scanning and advertising?

Hello, beginner here. :)

I just bought an nRF51 DK, but have not received it yet. I decided to test it because my older BLE module (HM-11) only allowed me to scan beacons once every 3 seconds.

My intention: using nRF51822 chips I want to make several beacons and 1 beacon scanner. I want this scanner to be able to get these beacons' info (major,minor...) and RSSI at somewhat high frequency, for example 10Hz or higher.

My question: is this feasible using nRF51822?

I have read on other questions that advertising beacon interval can be reduced up to 100ms (10Hz), but on other question they said 20ms (50Hz), so which one is the max frequency for beacon advertising? Also I am worried about the scanner being able to scan all these beacons (4-5 units) at a high frequency (ideal case same or higher frequency than the advertising, so I don't lose advertising packets). What is the estimated maximum frequency for a scanner like this?

Extra info: I believe that if beacons advertise at the same time, my scanner will only be able to receive one of them (or maybe none due to interference), so I will arrange them somehow to start at different times or with sligthy different advertising intervals.

Extra request: I would like to learn more about how these chips scan each frequency/channel, or if every frequency/channel is scanned at the same time, how are channels organized and selected, etc. Any link, doc or place I could learn this?

Thank you very much for your time, any hint is appreciated. :)

Parents
  • Hi Luis,

    Yes, you can use the nRF51 to scan for several beacons with higher than 10Hz frequency.

    If you advertise as non-connectable advertising, the advertising interval should be lower than 100ms. ( Section 4.4.2.2 Vol 6 Part B in Bluetooth Core Spec v4.4.2.2)

    You can get away from that either by advertise with connectable advertising or you can advertise with non-connectable advertising, but stop and re-start advertising with interval lower than 100ms.

    When advertising, there will be an extra delay added, to avoid interference (define at the same place at section 4.4.2.2). So you don't have to worry that all the beacon will advertise at the same time.

    The scanner can scan continuously (when you set scan windows= scan interval) however, we have to scan on 3 channels (37, 38, 39) so we will scan on each channel in turn, one by one on one scan window. ( One scan window with channel 37 , next window with channel 38 and so on). Note that when advertising, by default the advertiser advertises in all 3 channels one after each other.

  • Reading this answer makes me wonder.. What is the main (technical) reason that when using non-connectable advertising, the advertising interval should be at least 100ms, while for connectable advertising it can be at least 20ms? Or is there none, and therefore it can be overruled by stopping and re-starting advertising with an interval lower than 100ms?

Reply
  • Reading this answer makes me wonder.. What is the main (technical) reason that when using non-connectable advertising, the advertising interval should be at least 100ms, while for connectable advertising it can be at least 20ms? Or is there none, and therefore it can be overruled by stopping and re-starting advertising with an interval lower than 100ms?

Children
No Data
Related