6. API - Additional Bluetooth LE Roles
6.1. Beacons
- class bleson.beacons.eddystone.EddystoneBeacon(adapter, url=None)
PhysicalWeb (Eddystone) Beacon Advertiser
- Parameters
adapter (
bleson.interfaces.adapter.Adapter
) – bluetooth adapterurl (str) – URL to publish, maximum length of 17
Example of initialisation with a URL:
print(EddystoneBeacon('www.bluetooth.com'))
Output:
<bleson.beacons.eddystone.EddystoneBeacon object at ...>