说明
AT指令列表需要支持搜索
只有设备有AT指令列表才显示出右侧的快捷面板
1.URL
http://124.223.60.234:8080/system/asset/command/queryTerminalTypeATCommandList
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"terminalTypeId":100
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
terminalTypeId | List | 终端类型唯一标识 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"terminalTypeId": 100,
"sortId": 1,
"atCommand": "AT+RESET",
"desc": "{\"0\":\"Device reset\",\"1\":\"设备重启\"}"
},
{
"terminalTypeId": 100,
"sortId": 2,
"atCommand": "AT+LOG=<level>",
"desc": "{\"0\":\"Setting device log leave.(0:Close all;1:Open all;2:Open section)\",\"1\":\"设置设备log等级(0:关闭所有;1:开启所有;2:开启部分)\"}"
},
{
"terminalTypeId": 100,
"sortId": 3,
"atCommand": "AT+LOG?",
"desc": "{\"0\":\"Query device log leave\",\"1\":\"查询设备log等级\"}"
},
{
"terminalTypeId": 100,
"sortId": 4,
"atCommand": "AT+FORMAT=<index>",
"desc": "{\"0\":\"Restore factory configuration.(0:Restore all default;1:Only retains the S/N,other restore default;2:Retains the S/N,main IP,mileage,APN,other restore default;3:Restore to factory configuration)\",\"1\":\"恢复出厂配置(0:全部恢复到默认值;1:仅保留设备S/N,其他恢复到默认值;2:保留主IP,设备S/N,里程和APN,其他恢复默认配置;3:恢复到出厂配置)\"}"
},
{
"terminalTypeId": 100,
"sortId": 5,
"atCommand": "AT+ATREPORT",
"desc": "{\"0\":\"Force packing\",\"1\":\"强制组包\"}"
},
{
"terminalTypeId": 100,
"sortId": 6,
"atCommand": "AT+QTV?",
"desc": "{\"0\":\"Query fw version\",\"1\":\"查询版本号\"}"
},
{
"terminalTypeId": 100,
"sortId": 7,
"atCommand": "AT+QINFO?",
"desc": "{\"0\":\"Query device information\",\"1\":\"查询终端信息\"}"
},
{
"terminalTypeId": 100,
"sortId": 8,
"atCommand": "AT+QIMEI?",
"desc": "{\"0\":\"Query device IMEI\",\"1\":\"查询终端IMEI\"}"
},
{
"terminalTypeId": 100,
"sortId": 9,
"atCommand": "AT+QICCID?",
"desc": "{\"0\":\"Query device ICCID\",\"1\":\"查询终端ICCID\"}"
},
{
"terminalTypeId": 100,
"sortId": 10,
"atCommand": "AT+QBS?",
"desc": "{\"0\":\"Query device main base station information\",\"1\":\"查询终端主基站信息\"}"
},
{
"terminalTypeId": 100,
"sortId": 11,
"atCommand": "AT+QBAT?",
"desc": "{\"0\":\"Query the charging status of the built-in small battery\",\"1\":\"查询内置小电池充电状态\"}"
},
{
"terminalTypeId": 100,
"sortId": 12,
"atCommand": "AT+QTIME?",
"desc": "{\"0\":\"Query date time\",\"1\":\"查询日期时间\"}"
},
{
"terminalTypeId": 100,
"sortId": 13,
"atCommand": "AT+GNSS?",
"desc": "{\"0\":\"Query GNSS state\",\"1\":\"查询 GNSS 状态\"}"
},
{
"terminalTypeId": 100,
"sortId": 14,
"atCommand": "AT+QADC?",
"desc": "{\"0\":\"Query external power supply voltage\",\"1\":\"查询外接电源电压\"}"
},
{
"terminalTypeId": 100,
"sortId": 15,
"atCommand": "AT+BLIND=0",
"desc": "{\"0\":\"Clear buffer\",\"1\":\"清除缓冲区数据\"}"
},
{
"terminalTypeId": 100,
"sortId": 16,
"atCommand": "AT+BLIND?",
"desc": "{\"0\":\"Query buffer data\",\"1\":\"查询缓冲区数据\"}"
},
{
"terminalTypeId": 100,
"sortId": 17,
"atCommand": "AT+QGSENSOR?",
"desc": "{\"0\":\"Query sensor status\",\"1\":\"查询传感器状态\"}"
},
{
"terminalTypeId": 100,
"sortId": 18,
"atCommand": "AT+QACC?",
"desc": "{\"0\":\"Query ACC status\",\"1\":\"查询ACC状态\"}"
},
{
"terminalTypeId": 100,
"sortId": 19,
"atCommand": "AT+QDCIN?",
"desc": "{\"0\":\"Query VCC status\",\"1\":\"查询 VCC 状态\"}"
},
{
"terminalTypeId": 100,
"sortId": 20,
"atCommand": "AT+ID?",
"desc": "{\"0\":\"Query device S/N\",\"1\":\"查询设备S/N\"}"
},
{
"terminalTypeId": 100,
"sortId": 21,
"atCommand": "AT+BTMAC?",
"desc": "{\"0\":\"Query the MAC address of the device\",\"1\":\"查询设备MAC地址\"}"
},
{
"terminalTypeId": 100,
"sortId": 22,
"atCommand": "AT+IP=<index>,<ip>,<port>",
"desc": "{\"0\":\"Setting IP and port(index:0:main server;1:backup server;2:manager server)\",\"1\":\"设置设备的服务器IP与端口(其中:index:0:主服务;1:备用服务器;2:管理服务器)\"}"
},
{
"terminalTypeId": 100,
"sortId": 23,
"atCommand": "AT+IP?",
"desc": "{\"0\":\"Query device ip and port\",\"1\":\"查询设备的服务器IP与端口\"}"
},
{
"terminalTypeId": 100,
"sortId": 24,
"atCommand": "AT+TIMEGAP=<index>,<time>",
"desc": "{\"0\":\"Setting reporting interval(index:(0:driving mode reporting interval;1:Sleep mode reporting interval;2:Sleep mode heartbeat interval;3:Management Service Heartbeat Interval;4:Parking time);time:0 driving mode reporting interval\r\n1 Sleep mode reporting interval\r\n2 Sleep mode heartbeat interval\r\n3 Management Service Heartbeat Interval\r\n4 Parking time\r\nTime interval, in seconds.)\",\"1\":\"配置上报间隔(index:(0:行驶模式上报间隔;1:睡眠模式上报间隔;2:睡眠模式心跳间隔;3:管理服务心跳间隔:4:停车时间);time:时间间隔,单位秒)\"}"
},
{
"terminalTypeId": 100,
"sortId": 25,
"atCommand": "AT+TIMEGAP?",
"desc": "{\"0\":\"Query reporting interval\",\"1\":\"查询设备的上报间隔\"}"
},
{
"terminalTypeId": 100,
"sortId": 26,
"atCommand": "AT+SHAKE=<count>,<time>, <timegap>",
"desc": "{\"0\":\"Setting vibration level\",\"1\":\"配置震动等级\"}"
},
{
"terminalTypeId": 100,
"sortId": 27,
"atCommand": "AT+SHAKE?",
"desc": "{\"0\":\"Query vibration level\",\"1\":\"查询震动等级\"}"
},
{
"terminalTypeId": 100,
"sortId": 28,
"atCommand": "AT+SHAKETIME=<time1>,<ti\r\nme2>",
"desc": "{\"0\":\"Setting vibration time\",\"1\":\"配置震动时间阈值\"}"
},
{
"terminalTypeId": 100,
"sortId": 29,
"atCommand": "AT+SHAKETIME?",
"desc": "{\"0\":\"Query vibration time\",\"1\":\"查询震动时间阈值\"}"
},
{
"terminalTypeId": 100,
"sortId": 30,
"atCommand": "AT+APN=<apn>,<name>,<password>",
"desc": "{\"0\":\"Setting APN\",\"1\":\"设置APN\"}"
},
{
"terminalTypeId": 100,
"sortId": 31,
"atCommand": "AT+APN?",
"desc": "{\"0\":\"Query APN\",\"1\":\"查询APN\"}"
},
{
"terminalTypeId": 100,
"sortId": 32,
"atCommand": "AT+TIMEZONE=<timezone>",
"desc": "{\"0\":\"Setting timezone\",\"1\":\"设置时差\"}"
},
{
"terminalTypeId": 100,
"sortId": 33,
"atCommand": "AT+TIMEZONE?",
"desc": "{\"0\":\"Query timezone\",\"1\":\"查询时差\"}"
},
{
"terminalTypeId": 100,
"sortId": 34,
"atCommand": "AT+MILEAGE=<mile>",
"desc": "{\"0\":\"Setting initial mileage\",\"1\":\"配置初始里程\"}"
},
{
"terminalTypeId": 100,
"sortId": 35,
"atCommand": "AT+MILEAGE?",
"desc": "{\"0\":\"Query mileage\",\"1\":\"查询设备当前里程\"}"
},
{
"terminalTypeId": 100,
"sortId": 36,
"atCommand": "AT+FOTA=<type>,<version>,<url>",
"desc": "{\"0\":\"Device FOTA\",\"1\":\"设备FOTA升级\"}"
},
{
"terminalTypeId": 100,
"sortId": 37,
"atCommand": "AT+SHAKERANGE=<enable>, <range>,<shakelevel>",
"desc": "{\"0\":\"Setting Gsensor threshold\",\"1\":\"设置G-Sensor阈值\"}"
},
{
"terminalTypeId": 100,
"sortId": 38,
"atCommand": "AT+SHAKERANGE?",
"desc": "{\"0\":\"Query Gsensor threshold\",\"1\":\"查询G-Sensor阈值\"}"
},
{
"terminalTypeId": 100,
"sortId": 39,
"atCommand": "AT+WIFIENABLE=<enable>",
"desc": "{\"0\":\"Setting WIFI enable(enable:0:disable;1:enable)\",\"1\":\"设置WIFI是否启用(enable:0:禁用;1:启用)\"}"
},
{
"terminalTypeId": 100,
"sortId": 40,
"atCommand": "AT+WIFIENABLE?",
"desc": "{\"0\":\"Query WIFI enable\",\"1\":\"查询WIFI是否启用\"}"
},
{
"terminalTypeId": 100,
"sortId": 41,
"atCommand": "AT+BTENABLE=<enable>",
"desc": "{\"0\":\"Setting BT enable(enable:0:disable;1:enable)\",\"1\":\"设置蓝牙是否启用(enable:0:禁用;1:启用)\"}"
},
{
"terminalTypeId": 100,
"sortId": 42,
"atCommand": "AT+BTENABLE?",
"desc": "{\"0\":\"Query BT enable\",\"1\":\"查询蓝牙是否启用\"}"
},
{
"terminalTypeId": 100,
"sortId": 43,
"atCommand": "AT+REPORTMASK=<mask>",
"desc": "{\"0\":\"Setting 0x0200 reporting mask\",\"1\":\"设置0x0200上报的掩码\"}"
},
{
"terminalTypeId": 100,
"sortId": 44,
"atCommand": "AT+REPORTMASK?",
"desc": "{\"0\":\"Query 0x0200 reporting mask\",\"1\":\"查询0x0200上报的掩码\"}"
},
{
"terminalTypeId": 100,
"sortId": 45,
"atCommand": "AT+SENSORMASK=<mask>",
"desc": "{\"0\":\"Setting 0x0200 sensor mask\",\"1\":\"设置0x0200传感器掩码\"}"
},
{
"terminalTypeId": 100,
"sortId": 46,
"atCommand": "AT+SENSORMASK?",
"desc": "{\"0\":\"Query 0x0200 sensor mask\",\"1\":\"查询0x0200传感器掩码\"}"
},
{
"terminalTypeId": 100,
"sortId": 46,
"atCommand": null,
"desc": null
},
{
"terminalTypeId": 100,
"sortId": 47,
"atCommand": "AT+CRASHRANGE=<crashrange>",
"desc": "{\"0\":\"Setting crash range\",\"1\":\"设置碰撞等级\"}"
},
{
"terminalTypeId": 100,
"sortId": 48,
"atCommand": "AT+CRASHRANGE?",
"desc": "{\"0\":\"Query crash range\",\"1\":\"查询碰撞等级\"}"
},
{
"terminalTypeId": 100,
"sortId": 49,
"atCommand": "AT+VOLTAGE=<index>,<voltage>",
"desc": "{\"0\":\"Setting voltage threshold\",\"1\":\"配置电压阈值\"}"
},
{
"terminalTypeId": 100,
"sortId": 50,
"atCommand": "AT+VOLTAGE?",
"desc": "{\"0\":\"Query voltage threshold\",\"1\":\"查询电压阈值\"}"
}
]
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | object | 返回结果体 |
data 详情
字段 | 类型 | 说明 |
---|---|---|
terminalTypeId | int | 终端类型ID |
sortId | String | 指令流程索引 |
atCommand | String | AT指令内容 |
desc | String | AT指令说明(0:英文;1:中文) |
作者:admin 创建时间:2023-08-30 14:41
最后编辑:admin 更新时间:2025-04-23 17:26
最后编辑:admin 更新时间:2025-04-23 17:26