Commit ca02c02ac53d8d6cc18c93a8818b765e2b866938
1 parent
fe54d6ba
1
Showing
1 changed file
with
17 additions
and
17 deletions
README.md
| @@ -212,15 +212,15 @@ | @@ -212,15 +212,15 @@ | ||
| 212 | "timestamp":44324, | 212 | "timestamp":44324, |
| 213 | "operCode":0x60, | 213 | "operCode":0x60, |
| 214 | "data":{ | 214 | "data":{ |
| 215 | - "companyCode":22,//short | ||
| 216 | - "deviceId":"029L2222",//string | ||
| 217 | - "timestamp":134326,//long | ||
| 218 | - "instructType":00,//short | ||
| 219 | - "dispatchInstruct":0x00,//short | ||
| 220 | - "msgId":12345,//long | ||
| 221 | - "alarmTime":201606012000,//long | ||
| 222 | - "serviceState":00000000,//long | ||
| 223 | - "txtContent":"你好"//string | 215 | + "companyCode":22, |
| 216 | + "deviceId":"029L2222", | ||
| 217 | + "timestamp":134326, | ||
| 218 | + "instructType":00, | ||
| 219 | + "dispatchInstruct":0x00, | ||
| 220 | + "msgId":12345, | ||
| 221 | + "alarmTime":201606012000, | ||
| 222 | + "serviceState":00000000, | ||
| 223 | + "txtContent":"你好" | ||
| 224 | } | 224 | } |
| 225 | } | 225 | } |
| 226 | ``` | 226 | ``` |
| @@ -244,9 +244,9 @@ | @@ -244,9 +244,9 @@ | ||
| 244 | "timestamp":44324, | 244 | "timestamp":44324, |
| 245 | "operCode":0x64, | 245 | "operCode":0x64, |
| 246 | "data":{ | 246 | "data":{ |
| 247 | - "cityCode":22,//int | ||
| 248 | - "deviceId":"029L2222",//string | ||
| 249 | - "lineId":"134326"//string | 247 | + "cityCode":22, |
| 248 | + "deviceId":"029L2222", | ||
| 249 | + "lineId":"134326" | ||
| 250 | } | 250 | } |
| 251 | } | 251 | } |
| 252 | ``` | 252 | ``` |
| @@ -294,11 +294,11 @@ | @@ -294,11 +294,11 @@ | ||
| 294 | "deviceId":12345, | 294 | "deviceId":12345, |
| 295 | "timestamp":44324, | 295 | "timestamp":44324, |
| 296 | "status":0, | 296 | "status":0, |
| 297 | - "operCode":0x80,// 消息确认时无数据 | 297 | + "operCode":0x80, |
| 298 | "data":{ | 298 | "data":{ |
| 299 | - "operCode":0x26,//二级协议 | ||
| 300 | - "requestCode":22//short | ||
| 301 | - }// 消息确认将无数据 | 299 | + "operCode":0x26, |
| 300 | + "requestCode":22 | ||
| 301 | + } | ||
| 302 | } | 302 | } |
| 303 | ``` | 303 | ``` |
| 304 | | .. | .. | .. | | 304 | | .. | .. | .. | |
| @@ -306,7 +306,7 @@ | @@ -306,7 +306,7 @@ | ||
| 306 | | deviceId | string | 设备编号 | | 306 | | deviceId | string | 设备编号 | |
| 307 | | timestamp | long | 时间戳(ms) | | 307 | | timestamp | long | 时间戳(ms) | |
| 308 | | status | int | 0x80时无数据 0表示失败 1表示成功或设备确认 2表示驾驶员阅读 | | 308 | | status | int | 0x80时无数据 0表示失败 1表示成功或设备确认 2表示驾驶员阅读 | |
| 309 | -| operCode | short | 一级协议 | | 309 | +| operCode | short | 一级协议 消息确认将无数据 | |
| 310 | | data.operCode | short | 二级协议 | | 310 | | data.operCode | short | 二级协议 | |
| 311 | | data.requestCode | short | 请求代码0xa1 恢复运营 0xa2 申请调档 0xa3 出场请求 0xa5 进场请求 0xa7 加油请求 0x50 车辆故障 0x70 路阻报告 0x60 事故报告 0x11 扣证纠纷 0x12 报警 | | 311 | | data.requestCode | short | 请求代码0xa1 恢复运营 0xa2 申请调档 0xa3 出场请求 0xa5 进场请求 0xa7 加油请求 0x50 车辆故障 0x70 路阻报告 0x60 事故报告 0x11 扣证纠纷 0x12 报警 | |
| 312 | <span style="color: red">Response</span>: | 312 | <span style="color: red">Response</span>: |