1.URL
http://124.223.60.234:8080/system/asset/command/queryTerminalTypeCommand
or Server in US
https://cloud.aovx.com/prod/system/asset/command/queryTerminalTypeCommand
2.Request parameters
2.1.Request headers
Add token in Headers: After successful login verification, the corresponding tokenId in user login response data
2.2.Parameters example
{
"terminalTypeId":100
}
2.3.Parameters description
Field | Data type | description | required |
---|---|---|---|
terminalTypeId | List | Device type id | Y |
3.Response content
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"terminalTypeId": 100,
"cmdType": "0x8103",
"cmdTypeValue": "33027",
"cmdName": "{\"0\":\"Set device parameters\",\"1\":\"设置终端参数\"}",
"parameters": [
{
"paramId": "0x0001",
"paramIdValue": "1",
"paramName": "{\"0\":\"Device heartbeat interval\",\"1\":\"终端心跳间隔\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (s)\",\"1\":\"单位(秒)\"}"
},
{
"paramId": "0x0010",
"paramIdValue": "16",
"paramName": "{\"0\":\"Server APN\",\"1\":\"服务器APN\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": null
},
{
"paramId": "0x0011",
"paramIdValue": "17",
"paramName": "{\"0\":\"Server APN\",\"1\":\"APN 名称\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": null
},
{
"paramId": "0x0012",
"paramIdValue": "18",
"paramName": "{\"0\":\"APN username\",\"1\":\"APN 名称\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": ""
},
{
"paramId": "0x0013",
"paramIdValue": "19",
"paramName": "{\"0\":\"Main server address\",\"1\":\"主服务器地址\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": ""
},
{
"paramId": "0x0013",
"paramIdValue": "19",
"paramName": "{\"0\":\"Main server address\",\"1\":\"主服务器地址\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"Support domain name and IP\",\"1\":\"支持域名和IP\"}"
},
{
"paramId": "0x0018",
"paramIdValue": "24",
"paramName": "{\"0\":\"Main server port\",\"1\":\"主服务器端口\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"TCP or UDP port\",\"1\":\"TCP或者UDP端口\"}"
},
{
"paramId": "0x0027",
"paramIdValue": "39",
"paramName": "{\"0\":\"Report interval in sleep mode\",\"1\":\"休眠上报间隔\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (s)\",\"1\":\"单位(秒)\"}"
},
{
"paramId": "0x0029",
"paramIdValue": "41",
"paramName": "{\"0\":\"Report interval in run mode\",\"1\":\"行驶上报间隔\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (s)\",\"1\":\"单位(秒)\"}"
},
{
"paramId": "0x0030",
"paramIdValue": "42",
"paramName": "{\"0\":\"Inflection point angle\",\"1\":\"拐点角度\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (°),<180°\",\"1\":\"单位(度),小于180度\"}"
},
{
"paramId": "0x0055",
"paramIdValue": "85",
"paramName": "{\"0\":\"The highest speed\",\"1\":\"最高速度\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (km/h)\",\"1\":\"单位(km/h)\"}"
},
{
"paramId": "0x0056",
"paramIdValue": "86",
"paramName": "{\"0\":\"The time of overspeed duration\",\"1\":\"超速持续时间\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (s)\",\"1\":\"单位(秒)\"}"
},
{
"paramId": "0x0080",
"paramIdValue": "128",
"paramName": "{\"0\":\"The data of odometer\",\"1\":\"车辆里程表读数\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (1/10km),such as:103 = 10.3km\",\"1\":\"单位(1/10km),例如:103 = 10.3km\"}"
},
{
"paramId": "0xF000",
"paramIdValue": "61440",
"paramName": "{\"0\":\"Device ID\",\"1\":\"终端ID\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"Version maximum 12-digit BCD code\",\"1\":\"版本最大12位BCD码\"}"
},
{
"paramId": "0xF001",
"paramIdValue": "61441",
"paramName": "{\"0\":\"The voltage in run mode\",\"1\":\"行驶电压\"}",
"paramType": "WORD",
"paramLen": 2,
"paramDesc": "{\"0\":\"Unit (mV)\",\"1\":\"单位(毫伏)\"}"
},
{
"paramId": "0xF002",
"paramIdValue": "61442",
"paramName": "{\"0\":\"Stop voltage\",\"1\":\"停车电压\"}",
"paramType": "WORD",
"paramLen": 2,
"paramDesc": "{\"0\":\"Unit (mV)\",\"1\":\"单位(毫伏)\"}"
},
{
"paramId": "0xF003",
"paramIdValue": "61443",
"paramName": "{\"0\":\"The voltage in sleep mode\",\"1\":\"休眠电压\"}",
"paramType": "WORD",
"paramLen": 2,
"paramDesc": "{\"0\":\"Unit (mV)\",\"1\":\"单位(毫伏)\"}"
},
{
"paramId": "0xF004",
"paramIdValue": "61444",
"paramName": "{\"0\":\"NTP server address\",\"1\":\"NTP服务器地址\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"Support domain name and IP\",\"1\":\"支持域名和IP\"}"
},
{
"paramId": "0xF005",
"paramIdValue": "61445",
"paramName": "{\"0\":\"NTP server port\",\"1\":\"NTP服务器端口\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": ""
},
{
"paramId": "0xF006",
"paramIdValue": "61446",
"paramName": "{\"0\":\"Timezone\",\"1\":\"时区\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[-12,12]\",\"1\":\"范围[-12,12]\"}"
},
{
"paramId": "0xF007",
"paramIdValue": "61447",
"paramName": "{\"0\":\"The type of protocol\",\"1\":\"协议类型\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:JTT808 1:TAIP]\",\"1\":\"[0:JTT808 1:TAIP]\"}"
},
{
"paramId": "0xF009",
"paramIdValue": "61449",
"paramName": "{\"0\":\"The encryption of protocol\",\"1\":\"协议加密方式\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:NULL 1:RSA 2:AES 3:XTEA]\",\"1\":\"[0:NULL 1:RSA 2:AES 3:XTEA]\"}"
},
{
"paramId": "0xF00A",
"paramIdValue": "61450",
"paramName": "{\"0\":\"Positioning Galaxy\",\"1\":\"定位星系\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:gps+bd 1:gps+glo 2:gps+ga]\",\"1\":\"[0:gps+bd 1:gps+glo 2:gps+ga]\"}"
},
{
"paramId": "0xF00C",
"paramIdValue": "61452",
"paramName": "{\"0\":\"WIFI work mode*\",\"1\":\"WIFI工作模式*\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:ap 1:sta]\",\"1\":\"[0:ap 1:sta]\"}"
},
{
"paramId": "0xF00B",
"paramIdValue": "61451",
"paramName": "{\"0\":\"WIFI enable\",\"1\":\"WIFI使能\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:Close 1:Open]\",\"1\":\"[0:关 1:开]\"}"
},
{
"paramId": "0xF00D",
"paramIdValue": "61453",
"paramName": "{\"0\":\"The max AP of WIFI\",\"1\":\"WIFI最大AP数\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF00F",
"paramIdValue": "61455",
"paramName": "{\"0\":\"BT enable\",\"1\":\"BT使能\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:Close 1:Open]\",\"1\":\"[0:关 1:开]\"}"
},
{
"paramId": "0xF010",
"paramIdValue": "61456",
"paramName": "{\"0\":\"BT work mode\",\"1\":\"BT工作模式\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:host 1:slave]\",\"1\":\"[0:主 1:从]\"}"
},
{
"paramId": "0xF011",
"paramIdValue": "61457",
"paramName": "{\"0\":\"Maximum number nodes of BT\",\"1\":\"BT最大节点数\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF012",
"paramIdValue": "61458",
"paramName": "{\"0\":\"The timeout of BT nodes\",\"1\":\"BT节点超时时间\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"BT automatic scanning, used to judge whether the node is offline, unit (minute)\",\"1\":\"BT自动扫描,用于判断节点离线,单位(分)\"}"
},
{
"paramId": "0xF014",
"paramIdValue": "61460",
"paramName": "{\"0\":\"BT report mask\",\"1\":\"BT上报掩码\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF015",
"paramIdValue": "61461",
"paramName": "{\"0\":\"Input GPIO mode\",\"1\":\"输入GPIO模式\"}",
"paramType": "WORD",
"paramLen": 2,
"paramDesc": "{\"0\":\"High byte [channel number] Low byte [0: digital 1: analog]\",\"1\":\"高字节[通道号] 低字节[0:数字 1:模拟]\"}"
},
{
"paramId": "0xF016",
"paramIdValue": "61462",
"paramName": "{\"0\":\"GPIO direction*\",\"1\":\"GPIO方向*\"}",
"paramType": "WORD",
"paramLen": 2,
"paramDesc": ""
},
{
"paramId": "0xF017",
"paramIdValue": "61463",
"paramName": "{\"0\":\"Transmit protocol\",\"1\":\"传输协议\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:TCP 1:UDP 2:MQTT]\",\"1\":\"[0:TCP 1:UDP 2:MQTT]\"}"
},
{
"paramId": "0xF018",
"paramIdValue": "61464",
"paramName": "{\"0\":\"Report mask\",\"1\":\"上报掩码\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": ""
},
{
"paramId": "0xF01A",
"paramIdValue": "61466",
"paramName": "{\"0\":\"Gsensor sensitivity\",\"1\":\"Gsensor灵敏度\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0-255]\",\"1\":\"[0-255]\"}"
},
{
"paramId": "0xF01B",
"paramIdValue": "61467",
"paramName": "{\"0\":\"Gsensor range\",\"1\":\"Gsensor量程\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:2g 1:4g 2:8g 3:16g]\",\"1\":\"[0:2g 1:4g 2:8g 3:16g]\"}"
},
{
"paramId": "0xF01D",
"paramIdValue": "61469",
"paramName": "{\"0\":\"Gsensor time\",\"1\":\"Gsensor时间\"}",
"paramType": "DWORD",
"paramLen": 4,
"paramDesc": "{\"0\":\"Unit (s)\",\"1\":\"单位(秒)\"}"
},
{
"paramId": "0xF01F",
"paramIdValue": "61471",
"paramName": "{\"0\":\"Gsensor report mask\",\"1\":\"Gsensor上报掩码\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF02B",
"paramIdValue": "61483",
"paramName": "{\"0\":\"Backup server port\",\"1\":\"备份服务器端口\"}",
"paramType": "DWORD",
"paramLen": 1,
"paramDesc": "{\"0\":\"TCP or UDP port\",\"1\":\"TCP或者UDP端口\"}"
},
{
"paramId": "0xF02C",
"paramIdValue": "61484",
"paramName": "{\"0\":\"Buffer storage switch.*\",\"1\":\"缓存开关*\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF02D",
"paramIdValue": "61485",
"paramName": "{\"0\":\"Server ACK switch*\",\"1\":\"ACK开关*\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": ""
},
{
"paramId": "0xF030",
"paramIdValue": "61488",
"paramName": "{\"0\":\"BT report mask\",\"1\":\"透传AT指令\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"[0:Close 1:Open]\",\"1\":\"参考AT指令手册\"}"
}
]
},
{
"terminalTypeId": 100,
"cmdType": "0x8104",
"cmdTypeValue": "33028",
"cmdName": "{\"0\":\"Query Device Parameters\",\"1\":\"查询终端参数\"}",
"parameters": []
},
{
"terminalTypeId": 100,
"cmdType": "0x8105",
"cmdTypeValue": "33029",
"cmdName": "{\"0\":\"Device Control\",\"1\":\"终端控制\"}",
"parameters": [
{
"paramId": "5",
"paramIdValue": "5",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"恢复出厂\"}",
"paramType": null,
"paramLen": null,
"paramDesc": null
},
{
"paramId": "32",
"paramIdValue": "32",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"OTA升级\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"The command package format is:TYPE;MODE;VERSION;PROTOCOL;URL;MD5\",\"1\":\"指令组包格式为: TYPE; MODE; VERSION; PROTOCOL; URL; MD5\"}"
},
{
"paramId": "33",
"paramIdValue": "33",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"油路\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:Open 1:Close]\",\"1\":\"[0:开 1:关]\"}"
},
{
"paramId": "34",
"paramIdValue": "34",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"电源\"}",
"paramType": "BYTE",
"paramLen": 1,
"paramDesc": "{\"0\":\"[0:Close 1:Open]\",\"1\":\"[0:关 1:开]\"}"
},
{
"paramId": "35",
"paramIdValue": "35",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"GPIO输出\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"The command package format is: CHANNEL; MODE\",\"1\":\"指令组包格式为:CHANNEL;MODE\"}"
},
{
"paramId": "4",
"paramIdValue": "4",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"重启\"}",
"paramType": null,
"paramLen": null,
"paramDesc": null
},
{
"paramId": "36",
"paramIdValue": "36",
"paramName": "{\"0\":\"Sampling period\",\"1\":\"透传AT\"}",
"paramType": "STRING",
"paramLen": null,
"paramDesc": "{\"0\":\"Refer to AT Command Manual\",\"1\":\"参考AT指令手册\"}"
}
]
},
{
"terminalTypeId": 100,
"cmdType": "0x8900",
"cmdTypeValue": "35072",
"cmdName": "{\"0\":\"Downlink Transparent Transmission\",\"1\":\"下行透传\"}",
"parameters": []
},
{
"terminalTypeId": 100,
"cmdType": "0x8A00",
"cmdTypeValue": "35328",
"cmdName": "{\"0\":\"Platform RSA Public Key\",\"1\":\"平台RSA公钥\"}",
"parameters": []
}
]
}
3.2.Response description
Field | Data type | description |
---|---|---|
code | int | Return code |
message | String | Return message |
data | object | Response data |
Response data description
Field | Data type | description |
---|---|---|
terminalTypeId | int | Device type id |
cmdType | String | command type |
cmdTypeValue | String | When sending an command, the value corresponding to the command type, that is, the value corresponding to the msgId when sending an command |
cmdName | String | Command name (0: English; 1: Chinese) |
parameters | List | Commmand parameter set |
parameters description
Field | Data type | description |
---|---|---|
paramId | String | parameter id |
paramIdValue | String | The value corresponding to the parameter ID and the key corresponding to the params set when sending the command, where value is the content entered by the user |
paramName | String | Parameter name (0: English; 1: Chinese) |
paramType | String | The type corresponding to the parameter value |
paramLen | int | The length corresponding to the parameter value,If it is 0 or a null value, it is invalid |
paramDesc | String | Parameter Value description |
作者:admin 创建时间:2023-04-25 11:47
最后编辑:admin 更新时间:2024-12-27 19:48
最后编辑:admin 更新时间:2024-12-27 19:48