Get Walk Reminder
Menu: getWalkReminderV3 【setWalkReminderAddNotify,getSupportSetGetNoReminderOnWalkReminderV2】
Flutter Example:
/// Get walk reminder event number
getWalkRemind(
evtBase: _VBusEvtBase.base_app_get,
evtType: _VBusEvtType.app_get_walk_reminder),
/// Get walk reminder
libManager.send(evt: CmdEvtType.getWalkRemind, json: jsonEncode(json));
JSON Fields Received by the App:
Field Name | Field Type | Field Description |
---|---|---|
on_off | int | 0 Off,1 On |
goal_step | int | Goal step (deprecated) |
start_hour | int | Start time (hour) |
start_minute | int | Start time (minute) |
end_hour | int | End time (hour) |
end_minute | int | End time (minute) |
repeat | int | Repeat bit0 is invalid bit1-bit7 is Monday to Sunday respectively value 0 not repeat, value 1 repeat |
goal_time | int | Goal time (deprecated) |
notify_flag | int | Notification type 0: Invalid 1: Allow notification 2: Silent notification 3: Close notification Requires firmware to enable setWalkReminderAddNotify |
do_not_disturb_on_off | int | Do not disturb switch 0 Off 1 On Requires firmware to enable getSupportSetGetNoReminderOnWalkReminderV2 |
no_disturb_start_hour | int | Do not disturb start time (hour) Requires firmware to enable getSupportSetGetNoReminderOnWalkReminderV2 |
no_disturb_start_minute | int | Do not disturb start time (minute) Requires firmware to enable getSupportSetGetNoReminderOnWalkReminderV2 |
no_disturb_end_hour | int | Do not disturb end time (hour) Requires firmware to enable getSupportSetGetNoReminderOnWalkReminderV2 |
no_disturb_end_minute | int | Do not disturb end time (minute) Requires firmware to enable getSupportSetGetNoReminderOnWalkReminderV2 |
Example:
{
"on_off" : 0,
"goal_step" : 0,
"start_hour" : 18,
"start_minute" : 0,
"end_hour" : 23,
"end_minute" : 0,
"repeat" : 127,
"goal_time" : 0,
"notify_flag" : 2,
"do_not_disturb_on_off" : 0,
"no_disturb_start_hour" : 0,
"no_disturb_start_minute" : 0,
"no_disturb_end_hour" : 0,
"no_disturb_end_minute" : 0
}