adafruit_ble_beacon

BLE Location Beacon for CircuitPython

  • Author(s): Alec Delaney

Implementation Notes

Software and Dependencies:

class adafruit_ble_beacon.MultiStruct(struct_format: str, *, advertising_data_type: int)

struct encoded data in an Advertisement.

class adafruit_ble_beacon.iBeaconAdvertisement(*, entry: ScanEntry | None = None)

An iBeacon advertisement

Create an empty advertising packet or one from a ScanEntry.

property beacon_tx_power: int

The beacon TX power

property major: int

The major store number for the beacon

match_prefixes = (b'\xffL\x00\x02\x15',)

For Advertisement, match_prefixes will always return True. Subclasses may override this value.

property minor: int

The minor store number for the beacon

property uuid: bytes

The UUID of the beacon