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.
18 lines
450 B
ReStructuredText
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:
|