Get All Health Monitoring Switches

Menu: getHealthSwitchStateSupportV3

Flutter Example:

/// Get event number for all health monitoring switches
getAllHealthSwitchState(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.app_get_all_health_switch_state),

/// Get all health monitoring switches
libManager.send(evt: CmdEvtType.getAllHealthSwitchState, json: jsonEncode(json));

JSON fields received by the app:

Field Name Field Type Field Description
heart_mode int Continuous heart rate measurement switch:
1:On
0:Off
-1:Not Support
pressure_mode int Automatic blood pressure measurement switch
1:On
0:Off
-1:Not Support
spo2_mode int Automatic blood oxygen measurement switch
1:On
0:Off
-1:Not Support
science_mode int Scientific sleep switch
2:scientific sleep mode
1:normal sleep mode
-1:Not Support
temperature_mode int Nighttime temperature switch
1:On
0:Off
-1:Not Support
noise_mode int Noise switch
1:On
0:Off
-1:Not Support
menstrual_mode int Menstrual cycle switch
1:On
0:Off
-1:Not Support
walk_mode int Walking reminder switch
1:On
0:Off
-1:Not Support
handwashing_mode int Handwashing reminder switch
1:On
0:Off
-1:Not Support
respir_rate_state int Respiration rate switch
1:On
0:Off
-1:Not Support
body_power_state int Body battery switch
1:On
0:Off
-1:Not Support
drinkwater_mode int Drink water reminder switch
1:On
0:Off
-1:Not Support
heartmode_notify_flag int Heart rate notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification
pressure_notify_flag int Blood pressure notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification
spo2_notify_flag int Blood oxygen notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification
menstrual_notify_flag int Menstrual cycle notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification
guidance_notify_flag int Fitness guidance notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification
reminder_notify_flag int Reminder notification status:
0 for invalid
1 for allow notification
2 for silent notification
3 for disable notification

Example:

{
  "heart_mode" : 1,
  "pressure_mode" : 1,
  "spo2_mode" : 1,
  "science_mode" : 0,
  "temperature_mode" : 0,
  "noise_mode" : 1,
  "menstrual_mode" : 0,
  "walk_mode" : 0,
  "handwashing_mode" : -1,
  "drinkwater_mode" : -1,
  "heartmode_notify_flag" : -1,
  "pressure_notify_flag" : 1,
  "spo2_notify_flag" : 1,
  "menstrual_notify_flag" : 0,
  "guidance_notify_flag" : -1,
  "reminder_notify_flag" : 0,
  "respir_rate_state" : 0,
  "body_power_state" : 0
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""