This example shows how to scan for SCLE devices and extract the temperature data from the advertising packets
Android 5+
Written in Java
In order to scan for SCLE devices, you need to:
- Declare the permissions required
- Verify and request from the user permissions for Bluetooth
- Setup a scan - this can be done by scanning by name or by UUID (preferred)
- Process the results from the advertisement