Examples
Code examples for SimplePyBLE.
To learn how to use SimplePyBLE, please refer to the examples provided in the repository.
The following list briefly describes each example provided:
- list_adapters: List all available adapters.
- scan: Scan for nearby BLE devices.
- connect: Connect to a BLE device and list its services and characteristics.
- read: Read a characteristic's value.
- write: Write a characteristic's value.
- notify: Enable notifications on a characteristic.
Asynchronous API
- scan_async: Scan for nearby BLE devices using
asyncio. - notify_async: Enable notifications on a characteristic using
asyncioandasync defcallbacks.
