Get blood oxygen
Function list: getSupportGetSpo2SwitchInfo
Flutter Example:
/// Get the oxygen event number
/// Get blood oxygen
libManager.send(evt: CmdEvtType.getSpo2Switch, json: jsonEncode(json));
json fields received by App :
Field Name | Field Type | Field Description | |
---|---|---|---|
on_off | int | Switch status 1: enabled 0: disabled -1: invalid |
|
start_hour | int | Indicates the start time | |
start_minute | int | The start time is | |
end_hour | int | is the end time | |
end_minute | int | Indicates the end time | |
low_spo2_on_off | int | hypoxia switch status 1: enabled 0: disabled -1: invalid |
|
low_spo2_value | int | The hypoxia threshold | |
notify_flag | int | Notification type 0: invalid 1: Notification allowed 2: silent notification 3: notification disabled |
Example:
```c {
}
`