Hi.
I have FDA certified smartbands with SpO2 and HR real time measurement.
I know the BLE protocols of these device and can write application to get these measurements from the devices.
How can I integrate these devices support into your application?
Create a plugin, implement API or whatever?
Intent: com.urbandroid.sleep.ACTION_EXTRA_DATA_UPDATE
Extra: com.urbandroid.sleep.EXTRA_DATA_SPO2 with SPO2 value as parameter
Extra: com.urbandroid.sleep.EXTRA_DATA_TIMESTAMP timestamp of the measurement
@petr-urbandroid, may I know the timestamp format? Is it Unix timestamp in milliseconds that have elapsed since January 1, 1970 or something different?
So, by debugging we found out the correct Intent & data format to make SpO2 reading work:
Intent: com.urbandroid.sleep.ACTION_EXTRA_DATA_UPDATE
Extra: com.urbandroid.sleep.EXTRA_DATA_SPO2 with SPO2 value as Float
Extra: com.urbandroid.sleep.EXTRA_DATA_TIMESTAMP timestamp of the measurement as Unix timestamp in milliseconds that have elapsed since January 1, 1970