digidotcom / xbee-python

Python library to interact with Digi International's XBee radio frequency modules.
Mozilla Public License 2.0
185 stars 93 forks source link

Add support for the new XBee BLU device/product #305

Closed tatianaleon closed 3 months ago

tatianaleon commented 4 months ago

This product does not support the XBee protocol, but instead, only supports Bluetooth/BLE.

The XBee BLU currently adds extra support over the existing Bluetooth support, by adding a few new API packet/frames.

These frames are: Bluetooth GAP Scan Request - 0x34 Bluetooth GAP Scan Legacy Advertisement Response - 0xB4 Bluetooth GAP Scan Extended Advertisement Response - 0xB7 Bluetooth GAP Scan Status - 0xB5

In addition to creating a new device type called BluDevice that supports these new calls, there have also been a couple new functional tests to verify the support, along with a new Demo/Example application that will initiate a BLE GAP scan, and display all devices that are broadcasting BLE advertisements.