Skip to content

Instantly share code, notes, and snippets.

@utaal
Last active April 23, 2020 09:11
Show Gist options
  • Save utaal/ac642bb740cc5f8626bc99f0f1cd6cb3 to your computer and use it in GitHub Desktop.
Save utaal/ac642bb740cc5f8626bc99f0f1cd6cb3 to your computer and use it in GitHub Desktop.
BLE advertisement frame successful exchange rate in scenarios with many advertising devices

This is based on my partial knowledge of radio networks, and on very incomplete knowledge of the BLE stack.

AFAIK BLE scans in short intervals on one of 3 channels. With >50 devices in advertisement mode it may be hard to get non-colliding frames to the receiver.

  • I don’t think Bluetooth LE was designed to have hundreds of devices in discoverable mode sending out garbage identity frames.
  • Increasing the radio wake time may not be a solution either because you end up with flat batteries too quickly.

Protocol

  • 3 advertising channels;
  • scanning device listens to one for the discovery window(?);
  • advertising device hops to 1-3(?) and broadcasts the advertisment frame.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment