ABle iBeacon

Please see the Advertising Guide programming guide on how to use the iBeacon class.

Class Definition

class able.plugins.ibeacon.ABleiBeacon(local_name, device_uuid, major, minor, tx_power)[source]

Platform agnostic iBeacon class that creates an advertisement using Apple’s iBeacon format Reference: https://en.wikipedia.org/wiki/IBeacon

Parameters
  • local_name (str) – The name you wish to include within the advertisement packet as the local name

  • device_uuid (Union[str, uuid.UUID]) – The uuid that you want to broadcast in the iBeacon

  • major (List[bytes]) – User-defined value to send in iBeacon data

  • minor (List[bytes]) – User-defined value to send in iBeacon data

  • tx_power (List[bytes]) – User-defined value to send in iBeacon data