Then you can do ScannerFragment.getScanRecord(). getManufacturerSpecificData(0x0590) - the same ID as used in the code I posted above.
If you get null, it's not one of your devices. If it is, you should have an array of 2 bytes. First is the light value between 0 and 255, the second is the temperature in degrees C.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'd make sure that you're not filtering the advertisements based on anything at all
Basically you should be getting callbacks with a bunch of
ScanResult
entries: https://github.com/googlesamples/android-BluetoothAdvertisements/blob/master/Application/src/main/java/com/example/android/bluetoothadvertisements/ScannerFragment.java#L202-L228Then you can do
ScannerFragment.getScanRecord(). getManufacturerSpecificData(0x0590)
- the same ID as used in the code I posted above.If you get null, it's not one of your devices. If it is, you should have an array of 2 bytes. First is the light value between 0 and 255, the second is the temperature in degrees C.