Synchronize body power data

Body power

iOS: IDOSyncDataType.bodyPower

Android: IDOSyncDataType.BODYPOWER

JSON fields received by App:

Field name Field type Field description
year int Data date year
month int Data date month
day int Data date day
start_time int Start time, offset from 0 point Unit: seconds
data_type int Reserved
items Collection Body power details, collection of offset & type & value & diff_value
Field name Field type Field description
offset int Default offset Unit: seconds
type int Tag type
0: Not worn
1: Exercise (in sports mode)
2: Relax 3: Stress
4: Activity
5: Exercise (daily state)
value int The actual value has decimals, and the firmware return value has multiplied the actual value by 100
diff_value int Zero is the reference value, the difference relative to the previous value, positive is recovery, negative is consumption

```json Example: { "year":2022, "month":12, "day":26, "start_time":0, "data_type":0, "items":[ { "offset":5, "type":0, "value":80, "diff_value":0 }, { "offset":5, "type":0, "value":81, "diff_value":1 }, { "offset":5, "type":0, "value":79, "diff_value":-2 } ] }

Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2024-10-16 11:37:25

results matching ""

    No results matching ""