GemeOpen
写几行代码,就可以控制的智能设备!
智能红外控制器-4G版开发者文档
产品型号:GSCU1B-4G
产品概要信息
基本描述
一款支持学习的红外遥控器,采用MQTT协议控制,上行使用4G网络连接,开发者使用任意开发语言,实现对遥控器的控制,5V USB-C供电,发射有效距离6米。
常用于空调遥控、电视遥控、电扇遥控,接入开发者私有物联网平台,实现远程控制以及智能联动。
常用于空调遥控、电视遥控、电扇遥控,接入开发者私有物联网平台,实现远程控制以及智能联动。
主要特点
4G网络,远程控制
支持学习128种红外信号
5V 1A供电
支持学习128种红外信号
5V 1A供电
产品图片
技术支持
企业微信扫一扫
武汉智鸟科技有限责任公司
企业官网:www.smart-bird.cn
服务热线:130-0715-9689
办公地址:湖北省武汉市高新大道光谷崇文中心B1栋1401、1409
红外控制
发送红外码
controller-infrared-emit
指令简介
发送学习过的红外码指令。
向设备发送指令
服务端向设备订阅topic发送消息
{
"action" : "emit",
"data" :
{
"no" : 110
},
"messageId" : "20260520",
"type" : "infrared"
}
"action" : "emit",
"data" :
{
"no" : 110
},
"messageId" : "20260520",
"type" : "infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 此处固定为"emit" | emit |
| 2 | data | Object | 数据 | |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 4 | no | int | 红外码编号,编号范围1~248 | 110 |
| 5 | type | String | 红外相关指令默认填"infrared" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-infrared-emit",
"messageId": "20260520"
}
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-infrared-emit",
"messageId": "20260520"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-infrared-emit |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 4 | source | String | 指令回复“command" | command |
| 5 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
擦除红外指令
controller-infrared-erase
指令简介
将全部学习过的擦除。
向设备发送指令
服务端向设备订阅topic发送消息
{
"action" : "erase",
"messageId" : "20260520",
"type" : "infrared"
}
"action" : "erase",
"messageId" : "20260520",
"type" : "infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 此处固定为"erase" | erase |
| 2 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 3 | type | String | 红外相关指令默认填"infrared" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-infrared-erase",
"messageId": "20260520"
}
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-infrared-erase",
"messageId": "20260520"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-infrared-erase |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 4 | source | String | 指令回复“command" | command |
| 5 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
学习红外码
controller-infrared-learn
指令简介
通过该指令可以学习遥控器发射出来的红外信号
向设备发送指令
服务端向设备订阅topic发送消息
{
"action" : "learn",
"data" :
{
"no" : 110
},
"messageId" : "20260520",
"type" : "infrared"
}
"action" : "learn",
"data" :
{
"no" : 110
},
"messageId" : "20260520",
"type" : "infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 学习红外码指令默认填"learn" | learn |
| 2 | data | Object | 数据 | |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 4 | no | int | 红外码编号,编号范围1~248 | 110 |
| 5 | type | String | 红外相关指令默认填"infrared" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"type": "infrared",
"action": "learn",
"commandName": "controller-infrared-learn",
"source": "command",
"imei": "864269069911747",
"success": true,
"messageId": "202201241610366046",
"no": 100
}
"type": "infrared",
"action": "learn",
"commandName": "controller-infrared-learn",
"source": "command",
"imei": "864269069911747",
"success": true,
"messageId": "202201241610366046",
"no": 100
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 学习红外码指令默认填"learn" | learn |
| 2 | commandName | String | 指令名称 | controller-infrared-learn |
| 3 | imei | String | 设备唯一标识 | 866597072523945 |
| 4 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 5 | no | int | 红外码编号,编号范围1~248 | 110 |
| 6 | source | String | 指令回复“command" | command |
| 7 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
| 8 | type | String | 固定值"xxx" | infrared |
取消学习
controller-infrared-learnCancel
指令简介
对处于学习状态的设备,取消学习状态
向设备发送指令
服务端向设备订阅topic发送消息
{
"action":"learnCancel",
"messageId":"20260520",
"type":"infrared"
}
"action":"learnCancel",
"messageId":"20260520",
"type":"infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 学习红外码指令默认填"learn" | learnCancel |
| 2 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 3 | type | String | 固定值"xxx" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"commandName":"controller-infrared-learn-cancel",
"imei":"866597072523945",
"message":"ok",
"messageId":"20260520",
"source":"command",
"success":true
}
"commandName":"controller-infrared-learn-cancel",
"imei":"866597072523945",
"message":"ok",
"messageId":"20260520",
"source":"command",
"success":true
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-infrared-learn-cancel |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | message | String | 执行结果描述:对命令执行结果的文本说明。执行完成且无异常:ok ;如果出现异常,返回异常结果描述。 | ok |
| 4 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 5 | source | String | 指令回复“command" | command |
| 6 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
读取红外码
controller-infrared-read
指令简介
1.0.5 固件版本支持该接口
向设备发送指令
服务端向设备订阅topic发送消息
{
"action" : "ir_read",
"data" :
{
"no" : 100
},
"messageId" : "API-xxx",
"type" : "infrared"
}
"action" : "ir_read",
"data" :
{
"no" : 100
},
"messageId" : "API-xxx",
"type" : "infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 学习红外码指令默认填"learn" | ir_read |
| 2 | data | Object | 数据 | {"no":100} |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | API-xxx |
| 4 | no | int | 红外码编号,编号范围1~248 | 100 |
| 5 | type | String | 固定值"xxx" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"commandName" : "controller-infrared-read",
"imei" : "866597072523945",
"ir_data" : "e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183",
"message" : "ok",
"messageId" : "API-xxx",
"no" : 100,
"source" : "command",
"success" : true
}
"commandName" : "controller-infrared-read",
"imei" : "866597072523945",
"ir_data" : "e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183",
"message" : "ok",
"messageId" : "API-xxx",
"no" : 100,
"source" : "command",
"success" : true
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-infrared-read |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | ir_data | String | 红外码数据 | e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183 |
| 4 | message | String | 执行结果描述:对命令执行结果的文本说明。执行完成且无异常:ok ;如果出现异常,返回异常结果描述。 | ok |
| 5 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | API-xxx |
| 6 | no | int | 红外码编号,编号范围1~248 | 100 |
| 7 | source | String | 指令回复“command" | command |
| 8 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
写入红外码
controller-infrared-write
指令简介
1.0.5 固件版本支持该接口
向设备发送指令
服务端向设备订阅topic发送消息
{
"action" : "ir_write",
"ir_data" : "e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183",
"messageId" : "API-xxx",
"no" : 110,
"type" : "infrared"
}
"action" : "ir_write",
"ir_data" : "e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183",
"messageId" : "API-xxx",
"no" : 110,
"type" : "infrared"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | action | String | 默认填"ir_write" | ir_write |
| 2 | ir_data | String | 红外码数据 | e80200004e1a138d530340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd895103418340834e03cd89520341834e0341834f0340834e0342834e0342834d0342834d0342834e0342834d0341834e0341834d0342834f03cd8951034183 |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | API-xxx |
| 4 | no | int | 红外码编号,编号范围1~248 | 110 |
| 5 | type | String | 固定值"infrared" | infrared |
设备返回信息
设备向服务端订阅topic上报消息
{
"commandName" : "controller-infrared-write",
"imei" : "866597072523945",
"message" : "ok",
"messageId" : "API-xxx",
"no" : 110,
"source" : "command",
"success" : true
}
"commandName" : "controller-infrared-write",
"imei" : "866597072523945",
"message" : "ok",
"messageId" : "API-xxx",
"no" : 110,
"source" : "command",
"success" : true
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-infrared-write |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | message | String | 执行结果描述:对命令执行结果的文本说明。执行完成且无异常:ok ;如果出现异常,返回异常结果描述。 | ok |
| 4 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | API-xxx |
| 5 | no | int | 红外码编号,编号范围1~248 | 110 |
| 6 | source | String | 指令回复“command" | command |
| 7 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
设备维护
重置/恢复出厂设置
controller-reset
指令简介
恢复出厂设置后配网信息和自定义信息都会清空,请谨慎操作!
向设备发送指令
服务端向设备订阅topic发送消息
{
"messageId" : "20260520",
"system" : "reset",
"type" : "setting"
}
"messageId" : "20260520",
"system" : "reset",
"type" : "setting"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 2 | system | String | 重置/恢复出厂设置默认填"reset" | reset |
| 3 | type | String | 固定值"setting" | setting |
设备返回信息
设备向服务端订阅topic上报消息
{
"message": "ok",
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-reset",
"messageId": "20260520"
}
"message": "ok",
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-reset",
"messageId": "20260520"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-reset |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | message | String | 执行结果描述:对命令执行结果的文本说明。执行完成且无异常:ok ;如果出现异常,返回异常结果描述。 | ok |
| 4 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 5 | source | String | 指令回复“command" | command |
| 6 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
设备软重启
controller-restart
指令简介
软重启后,通过指令设置的参数将生效,同时设备将重新连接Wifi/4G网络,注意设备IP地址可能发生变化
向设备发送指令
服务端向设备订阅topic发送消息
{
"system" : "restart",
"type" : "setting"
}
"system" : "restart",
"type" : "setting"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | system | String | 设备软重启固定传"restart" | restart |
| 2 | type | String | 设备设置固定传"setting" | setting |
设备返回信息
设备向服务端订阅topic上报消息
{
"message": "ok",
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-restart",
"messageId": ""
}
"message": "ok",
"success": true,
"imei": "866597072523945",
"source": "command",
"commandName": "controller-restart",
"messageId": ""
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | commandName | String | 指令名称 | controller-restart |
| 2 | imei | String | 设备唯一标识 | 866597072523945 |
| 3 | message | String | 执行结果描述:对命令执行结果的文本说明。执行完成且无异常:ok ;如果出现异常,返回异常结果描述。 | ok |
| 4 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | |
| 5 | source | String | 指令回复“command" | command |
| 6 | success | boolean | 执行结果,执行成功:true;执行失败:false | true |
获取设备基础信息
info-all
指令简介
查询当前设备的基础信息,如设备MAC地址/imei、设备型号、固件版本号、信号强度及相关配置信息。
向设备发送指令
服务端向设备订阅topic发送消息
{
"messageId" : "$messageId",
"type" : "info"
}
"messageId" : "$messageId",
"type" : "info"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | $messageId |
| 2 | type | String | 固定值"xxx" | info |
设备返回信息
设备向服务端订阅topic上报消息
{
"code" : "Infrared-Controller-4G",
"commandName" : "info-all",
"iccid" : "898608361924D2182843",
"imei" : "866597072523945",
"messageId" : "$messageId",
"resetLock" : 0,
"signal" : 15,
"source" : "command",
"type" : "info",
"version" : "1.0.6"
}
"code" : "Infrared-Controller-4G",
"commandName" : "info-all",
"iccid" : "898608361924D2182843",
"imei" : "866597072523945",
"messageId" : "$messageId",
"resetLock" : 0,
"signal" : 15,
"source" : "command",
"type" : "info",
"version" : "1.0.6"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | code | String | 设备型号代码 | Infrared-Controller-4G |
| 2 | commandName | String | 指令名称 | info-all |
| 3 | iccid | String | SIM-卡ICCID值 | 898608361924D2182843 |
| 4 | imei | String | 设备唯一标识 | 866597072523945 |
| 5 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | $messageId |
| 6 | resetLock | int | 重置锁,0:关闭,1:开启 | 0 |
| 7 | signal | int | 信号强度,取值范围 0-31,数值越大信号越强 | 15 |
| 8 | source | String | 指令回复“command" | command |
| 9 | type | String | 固定值"xxx" | info |
| 10 | version | String | 当前固件版本号 | 1.0.6 |
自定义MQTT
setting-mqtt
指令简介
设置设备自定义mqtt
向设备发送指令
服务端向设备订阅topic发送消息
{
"clientId" : "admin",
"password" : "123456",
"port" : "1883",
"protocol" : "mqtt",
"publish" : "/topic/qos0",
"server" : "broker.emqx.io",
"subscribe" : "/topic/qos1",
"type" : "custom",
"username" : "username"
}
"clientId" : "admin",
"password" : "123456",
"port" : "1883",
"protocol" : "mqtt",
"publish" : "/topic/qos0",
"server" : "broker.emqx.io",
"subscribe" : "/topic/qos1",
"type" : "custom",
"username" : "username"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | clientId | String | 自定义MQTT客户端ID注意:不可重复 | admin |
| 2 | password | String | 密码 | 123456 |
| 3 | port | String | 端口号 | 1883 |
| 4 | protocol | String | 协议类型 | mqtt |
| 5 | publish | String | 自定义发布主题 注意:不可重复 | /topic/qos0 |
| 6 | server | String | 自定义服务器地址 | broker.emqx.io |
| 7 | subscribe | String | 自定义设备MQTT订阅主题 注意:不可与发布主题重复 | /topic/qos1 |
| 8 | type | String | 自定义MQTT配置默认填"custom" | custom |
| 9 | username | String | 自定义服务器用户名 | username |
设备返回信息
设备向服务端订阅topic上报消息
{
"clientId" : "admin",
"commandName" : "setting-mqtt",
"messageId" : "20260520",
"password" : "123456",
"port" : "1883",
"protocol" : "mqtt",
"publish" : "/topic/qos0",
"server" : "broker.emqx.io",
"source" : "command",
"subscribe" : "/topic/qos1",
"username" : "username"
}
"clientId" : "admin",
"commandName" : "setting-mqtt",
"messageId" : "20260520",
"password" : "123456",
"port" : "1883",
"protocol" : "mqtt",
"publish" : "/topic/qos0",
"server" : "broker.emqx.io",
"source" : "command",
"subscribe" : "/topic/qos1",
"username" : "username"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | clientId | String | 自定义MQTT客户端ID注意:不可重复 | admin |
| 2 | commandName | String | 指令名称 | setting-mqtt |
| 3 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 4 | password | String | 密码 | 123456 |
| 5 | port | String | 端口号 | 1883 |
| 6 | protocol | String | 协议类型 | mqtt |
| 7 | publish | String | 自定义发布主题 注意:不可重复 | /topic/qos0 |
| 8 | server | String | 自定义服务器地址 | broker.emqx.io |
| 9 | source | String | 指令回复“command" | command |
| 10 | subscribe | String | 自定义设备MQTT订阅主题 注意:不可与发布主题重复 | /topic/qos1 |
| 11 | username | String | 自定义服务器用户名 | username |
设置重置锁
setting-reset-lock
指令简介
设置设备重置锁
向设备发送指令
服务端向设备订阅topic发送消息
{
"messageId" : "20260520",
"resetLock" : 0,
"type" : "setting"
}
"messageId" : "20260520",
"resetLock" : 0,
"type" : "setting"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 2 | resetLock | int | 重置锁,0:关闭,1:开启 | 0 |
| 3 | type | String | 固定值"setting" | setting |
设备返回信息
设备向服务端订阅topic上报消息
{
"code" : "Infrared-Controller-4G",
"commandName" : "setting-reset-lock",
"iccid" : "898608361924D2182843",
"imei" : "866597072523945",
"messageId" : "20260520",
"resetLock" : 0,
"signal" : 14,
"source" : "command",
"version" : "1.0.6"
}
"code" : "Infrared-Controller-4G",
"commandName" : "setting-reset-lock",
"iccid" : "898608361924D2182843",
"imei" : "866597072523945",
"messageId" : "20260520",
"resetLock" : 0,
"signal" : 14,
"source" : "command",
"version" : "1.0.6"
}
字段属性
| # | 字段名称 | 字段类型 | 字段说明 | 示例值 |
|---|---|---|---|---|
| 1 | code | String | 设备型号代码 | Infrared-Controller-4G |
| 2 | commandName | String | 指令名称 | setting-reset-lock |
| 3 | iccid | String | SIM-卡ICCID值 | 898608361924D2182843 |
| 4 | imei | String | 设备唯一标识 | 866597072523945 |
| 5 | messageId | String | 业务流水号。由请求方生成的唯一标识,响应方原样回显,用于请求与响应的关联匹配。 | 20260520 |
| 6 | resetLock | int | 重置锁,0:关闭,1:开启 | 0 |
| 7 | signal | int | 信号强度,显示规则为:signal int 信号强度,取值范围(0~31),值越大越好 | 14 |
| 8 | source | String | 指令回复“command" | command |
| 9 | version | String | 当前固件版本号 | 1.0.6 |









