设备发送交换运动数据开始命令
App收到的json字段:
| 字段名 | 字段类型 | 字段说明 |
|---|---|---|
| day | int | 开始时间 日 |
| hour | int | 开始时间 时 |
| minute | int | 开始时间 分 |
| second | int | 开始时间 秒 |
| type | int | 运动类型 |
| operate | int | 1:请求app打开gps 2:发起运动请求 3:发起运动开始后台联动请求 |
示例:
{
"day":26,
"hour":11,
"minute":2,
"second":50,
"type":1,
"operate":2
}
App下发的json字段:
| 字段名 | 字段类型 | 字段说明 |
|---|---|---|
| ret_code | int | 0:成功;1:失败 |
| operate | int | 1:请求app打开gps 2:发起运动请求 3:发起运动开始后台联动请求 |
示例:
{
"ret_code":0,
"operate":2
}