3. Command-Line tools¶
Bleson ships with built-in utilities that can be run directly from the command line.
3.1. Observer¶
Scan for nearby Bluetooth LE devices and print out any Advertising Reports received:
$ python3 -m bleson --observer
3.2. Beacon¶
Start a PhysicalWeb (Eddystone) beacon advertising a URL:
$ python3 -m bleson --beacon --url http://www.google.com/