Examples
Code examples for SimpleJavaBLE.
To learn how to use SimpleJavaBLE, please refer to the examples provided in the repository.
The example project includes:
- ScanExample: Scan for nearby peripherals and print advertisement details.
- ConnectExample: Scan, choose a connectable peripheral, connect, and list services and characteristics.
- NotifyExample: Connect to a peripheral, choose a characteristic, subscribe to notifications, then unsubscribe.
For setup details, see Usage, Installation, and Quickstart.
