Get smart heart rate pattern
Function list: getSupportGetSmartHeartRate
Flutter Example:
/// Get the smart Heart rate pattern event number
/// Get smart heart rate pattern
libManager.send(evt: CmdEvtType.getHeartRateModeSmart, json: jsonEncode(json));
json fields received by App :
Field Name | Field Type | Field Description | |
---|---|---|---|
mode | int | Switch status 1: enabled 0: disabled -1: invalid |
|
notify_flag | int | Notification type 0: invalid 1: Notification allowed 2: silent notification 3: notification disabled |
|
high_heart_mode | int | Intelligent heart rate alarm switch 1: enabled 0: disabled -1: invalid |
|
low_heart_mode | int | intelligent heartbeat alarm switch 1: enabled 0: disabled -1: invalid |
|
high_heart_value | int | intelligent heart rate alarm threshold | |
low_heart_value | int | intelligent heart rate alarm threshold | |
start_hour | int | is the start time of the heart rate monitoring period | |
start_minute | int | The heart rate monitoring period starts at | |
end_hour | int | is the end time of the heart rate monitoring period | |
end_minute | int | The end time of heart rate monitoring period is |
Example:
```c {
}
`