Setting Heart Rate Interval

Flutter example:

/// Set heart rate interval event ID
setHeartRateInterval(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_heart_rate_interval),

/// Set heart rate interval
libManager.send(evt: CmdEvtType.setHeartRateInterval, json: jsonEncode(json));

JSON fields issued by the App:

Field Name Field Type Field Description
burn_fat_threshold int Fat burning heart rate zone
Calculation: 50%-69% of max heart rate
Unit: bpm
aerobic_threshold int Aerobic training heart rate zone
Calculation: 70%-84% of max heart rate
Unit: bpm
limit_threshold int Peak training heart rate zone
Calculation: 85%-100% of max heart rate
Unit: bpm
user_max_hr int Maximum heart rate reminder
Unit: bpm
range1 int Warm-up exercise heart rate zone
Calculation: (200-age) * 50
Unit: bpm
range2 int Fat burning exercise heart rate zone
Calculation: (200-age) * 60
Unit: bpm
range3 int Aerobic exercise heart rate zone
Calculation: (200-age) * 70
Unit: bpm
range4 int Anaerobic exercise heart rate zone
Calculation: (200-age) * 80
Unit: bpm
range5 int Maximum effort exercise heart rate zone
Calculation: (200-age) * 90
Unit: bpm
min_hr int Minimum heart rate
Unit: bpm
max_hr_remind int Maximum heart rate reminder
0: Off, 1: On
min_hr_remind int Minimum heart rate reminder
0: Off, 1: On
remind_start_hour int Reminder start hour
remind_start_minute int Reminder start minute
remind_stop_hour int Reminder stop hour
remind_stop_minute int Reminder stop minute

Example:

{
  "burn_fat_threshold": 113,
  "aerobic_threshold": 132,
  "limit_threshold": 170,
  "user_max_hr": 220,
  "range1": 94,
  "range2": 113,
  "range3": 132,
  "range4": 151,
  "range5": 170,
  "min_hr": 20,
  "max_hr_remind": 1,
  "min_hr_remind": 0,
  "remind_start_hour": 0,
  "remind_start_minute": 0,
  "remind_stop_hour": 23,
  "remind_stop_minute": 59
}
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 ""