4G DTU产品
<p>默认串口配置:9600,8,N,1
默认串口转网络topic:/xm/sh/response/mqtt/$gwsn/pub
默认网络转串口topic:/xm/sh/request/mqtt/$gwsn/2006/v2
网络转串口默认分帧间隔:200ms
串口转网络默认分帧间隔:25ms</p>
<pre><code class="language-c">心跳topic:/xm/sh/request/mqtt/$gwsn/2006/v2
心跳数据:{&quot;header&quot;:{&quot;timeStamp&quot;:&quot;1694401972&quot;},&quot;payload&quot;:{&quot;devices&quot;:[{&quot;nodeid&quot;:&quot;000&quot;,&quot;action&quot;:&quot;sync&quot;,&quot;serviceid&quot;:&quot;20060101&quot;,&quot;params&quot;:{&quot;15&quot;:&quot;35&quot;,&quot;20&quot;:&quot;0&quot;}}]}}
遗嘱默认配置(&quot;MASTER_TOPIC&quot;==&quot;&quot;时):
遗嘱topic:/xm/sh/will/mqtt/$gwsn/2006/v2
遗嘱数据:willTopic
配置框填写示例:
{&quot;qos&quot;:0,&quot;retain&quot;:0,&quot;topic&quot;:&quot;willTopic&quot;,&quot;payload&quot;:&quot;willPayload&quot;}
注意:
①遗嘱功能可靠性不足,不能仅靠遗嘱判断设备下线需要增加备用机制。
②topic支持gwsn、imei两个变量,如{&quot;topic&quot;:&quot;willTopic/gwsn/imei&quot;},实际生效为{&quot;topic&quot;:&quot;willTopic/132xxxxx/86xxxx&quot;}。
③配置项目不改则无需填写,即保持默认值。
④配置&quot;MASTER_TOPIC&quot;参数后,will设置为空则不启用遗嘱,will非空则按设置触发。
⑤&quot;MASTER_TOPIC&quot;参数默认为空,则使用系统默认will配置。</code></pre>
<p>首次登录服务器发送消息,支持变量:imei,muid,imsi,iccid,csq。
使用方法:"{my_imei:|imei|,rss:|csq|} ",即变量通过“|变量名|”标记。</p>
<p>备注:
$gwsn为变量,表示设备序列号,参加设备条码标签;</p>
<hr />
<p>usb驱动下载:<a href="https://pan.baidu.com/s/1L0OHh7Mdz1vtgViisfqgcA?pwd=1111">https://pan.baidu.com/s/1L0OHh7Mdz1vtgViisfqgcA?pwd=1111</a> 提取码:1111
配置工具下载:<a href="https://pan.baidu.com/s/1udV8HNDkX4Ok0CpuZ20OtQ?pwd=1111">https://pan.baidu.com/s/1udV8HNDkX4Ok0CpuZ20OtQ?pwd=1111</a> 提取码:1111</p>
<p>设备本地配置方法:
安装驱动成功后,使用usb口连接设备,在本机设备管理器中会出现3个串口设备。
打开配置工具,串口选择“xxxx AT"串口,波特率选择115200,点击连接。
点击读取配置,提示信息解析成功,说明设备已成功连接。</p>
<p>注意:每次点击写入配置后,设备会重启,如果再次使用配置工具需要点击”断开“,再点击”连接“后才可操作。</p>