Synchronize blood oxygen data

Blood oxygen

iOS: IDOSyncDataType.bloodOxygen

Android: IDOSyncDataType.BLOODOXYGEN

json field received by App:

Field name Field type Field description
year int data date year
month int data date month
day int data date day
start_time int Start time
Unit: minutes
Offset from midnight
data_type int 0 is invalid, 1 is a value, 2 is the maximum and minimum value
Preliminary stay
time_zone int Time zone offset scaled by 100; e.g. timezone 8 returns 800, 5.5 returns 550
Valid only when supportSyncHealthDataWithTimeZone function table flag is on
items collection collection of offset&value

items items — SpO2 details

field name field type field description
offset int Offset
Unit: minutes
value int average blood oxygen level

Version-compatible function table (2.2)

When getSupportSyncSpo2UseVersionCompatible is on, JSON adds:

Field Type Description
spo2_payload_version int 0: 2.1; 1: 2.2
spo2_low_reminders array 2.2 only; hour, minute, spo2_val (%)

Example

{
 "year":2022,
 "month":12,
 "day":26,
 "start_time":0,
 "data_type":1,
    "time_zone":800,
 "items":[
 {
 "offset":30,
 "value":30,
 },
 {
 "offset":30,
 "value":30,
 }
 ]
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-10-21 09:28:49

results matching ""

    No results matching ""