Adafruit_CircuitPython_BLE/docs/examples.rst
Scott Shawcroft 3434bfa5d3
Tweaks based on feedback from Dan and Thea
This renames Smart* to BLE* and removes the smart recognition. It
is replaced by knowing the type of what we're interested at use
time only. Only printing Service lists is now dumber.

Interal variables to _bleio classes are now public as bleio_*
instead so that other classes in the library can access them and
its clearer what they are.
2019-11-01 11:48:34 -07:00

18 lines
450 B
ReStructuredText

Scan everything
----------------
Ensure your device works with this simple test. When working, will print out advertising data of
nearby BLE devices.
.. literalinclude:: ../examples/ble_simpletest.py
:caption: examples/ble_simpletest.py
:linenos:
Detailed scan
----------------
Ensure your device works with this simple test.
.. literalinclude:: ../examples/ble_detailed_scan.py
:caption: examples/ble_detailed_scan.py
:linenos: