App Sends Command to Start Exercise Data Exchange

JSON Field Sent by App:

Field Name Field Type Field Description
day int Start time: day
hour int Start time: hour
minute int Start time: minute
second int Start time: second
sport_type int Type of exercise
target_type int Exercise goal
0: No goal
1: Repetitions (unit: times)
2: Distance (unit: meters)
3: Calories (unit: kcal)
4: Duration (unit: minutes)
5: Steps (unit: steps)
target_value int Goal value
force_start int Force start
1: Force start enabled
0: Force start disabled (user only)
vo2max int Maximal oxygen consumption
Unit: ml/kg/min (app stores the received data)
recover_time int Recovery time
Unit: hours (app will decrement by one every hour)
avg_week_activity_time int Average weekly activity time of last month
Unit: minutes

Example:

{
    "day": 26,
    "hour": 10,
    "minute": 43,
    "second": 10,
    "sport_type": 10,
    "target_type": 1,
    "target_value": 1,
    "force_start": 0,
    "vo2max": 10,
    "recover_time": 1,
    "avg_week_activity_time": 1
}

JSON Field Received by App:

Field Name Field Type Field Description
ret_code int ret_code
0: Success
1: Failed to enter exercise mode on the device
2: Device low battery
3: Charging
4: Restricted by Alexa

Example:

{
    "ret_code": 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 ""