我是靠谱客的博主 潇洒仙人掌,最近开发中收集的这篇文章主要介绍中移M5310A NBIoT模组通信测试命令,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

总结一下中移M5310A NBIoT模组的常用测试命令,这个命令是个脚本,可以编辑,在自己开发的串口软件上可用,有需要的请留言。

脚本是.ini格式的文件,可以直接编辑文件然后加载到脚本区。字段用t分割。

[General]
msg0=dontusetdonthextATtcrlftttt提示符
msg1="dontusetdonthextAT+NCONFIG=AUTOCONNECT,TRUEtcrlftttt自动附着网络"
msg2=dontusetdonthextAT+NRBtcrlftttt重启
msg3="dontusetdonthextAT+NAND=5,8,3tcrlftttt设置频段(关机下设置)"
msg4=dontusetdonthextAT+NCSEARFCNtcrlftttt清除存储频点
msg5="dontusetdonthextAT+CFUN=1tcrlftttt开启射频"
msg6="dontusetdonthextAT+CGATT=1tcrlftttt附着网络"
msg7=dontusetdonthexttcrlftttt
msg8=dontusetdonthextAT+CSQtcrlftttt查询信号强度
msg9=dontusetdonthextAT+CGATT?tcrlftttt查询网络附着
msg10=dontusetdonthextAT+CEREG?tcrlftttt查询网络注册
msg11=dontusetdonthextAT+NUESTATStcrlftttt查询UE信息
msg12=dontusetdonthextAT+NMSTATUS?tcrlftttt查询CDP服务器
msg13=dontusetdonthextAT+CSCON?tcrlftttt查询连接(1连接)
msg14=dontusetdonthextAT+NPSMR?tcrlftttt查询PSM状态(1PSM)
msg15="dontusetdonthextAT+CGSN=1tcrlftttt查询IMEI"
msg16=dontusetdonthextAT+CGMRtcrlftttt查询模组软件版本号
msg17=dontusetdonthexttcrlftttt
msg18=dontusetdonthextAT+NCDP?tcrlftttt查询CDP
msg19="dontusetdonthextAT+NCDP=117.60.157.137,5683tcrlftttt电信商业"
msg20="dontusetdonthextAT+NCDP=180.101.147.115,5683tcrlftttt电信测试"
msg21=dontusetdonthexttcrlftttt
msg22=dontusetdonthextAT+MREGSWT?tcrlftttt查询注册模式 0手动1自动
msg23="dontusetdonthextAT+MREGSWT=1tcrlftttt设置自动注册模式(默认)"
msg24="dontusetdonthextAT+MLWSREGIND=0tcrlftttt手动注册平台 0注册1注销"
msg25=dontusetdonthextAT+NSECSWT?tcrlftttt查询加密方式
msg26="dontusetdonthextAT+NSECSWT=0tcrlftttt0非加密 1DTLS 2DTLS+"
msg27="dontusetdonthextAT+NSETPSK=IMEI,psktcrlftttt设置psk"
msg28="dontusetdonthextAT+MLWM2MENABLE=0tcrlftttt禁用lwm2m 0D 1E"
msg29="dontusetdonthextAT+CPSMS=0tcrlftttt0关闭PSM 1启用"
msg30="dontusetdonthextAT+CPSMS=1,,,01000011,00100001tcrlftttt设置T3412和T3324,0-D"
msg31=dontusetdonthextAT+CPSMS?tcrlftttt查询PSM设置
msg32="dontusetdonthextAT+CEDRXS=0,5,0101tcrlftttteDRX设置 0-关闭 1-开启"
msg33=dontusetdonthextAT+CEDRXS?tcrlftttt查询eDRX设置
msg34="dontusetdonthextAT+NPTWEDRXS=1,5,0111,0010tcrlftttt设置PTW eDRX 0-关闭"
msg35=dontusetdonthextAT+NPTWEDRXS?tcrlftttt查询PTW eDRX
msg36=dontusetdonthexttcrlftttt
msg37="dontusetdonthextAT+CGDCONT=0,"IP","sdlyxzxnbmjy.vpdn.sc"tcrlftttt设置pdp"
msg38="dontusetdonthextAT+CGAUTH=0,1,"1@sdlyxzxnbmjy.vpdn.sc","1"tcrlftttt设置pdp用户密码"
msg39="dontusetdonthextAT+CGACT=1,0tcrlftttt激活pdp(一般不用)"
msg40=dontusetdonthext----------------------TCP-----------------------------tcrlftttt
msg41="dontusetdonthextAT+NSOCR="STREAM",6,6003,1tcrlftttt创建tcp"
msg42="dontusetdonthextAT+NSOCO=1,192.168.1.5,9002tcrlftttt连接服务器"
msg43="dontusetdonthextAT+NSOSD=1,4,FEFEFEFEtcrlftttt发送数据"
msg44="dontusetdonthextAT+NSORF=1,255tcrlftttt逐条读取接收数据"
msg45="dontusetdonthextAT+NSOCL=1tcrlftttt关闭连接"
msg46=dontusetdonthext----------------------UDP-----------------------------tcrlftttt
msg47="dontusetdonthextAT+NSOCR="DGRAM",17,6003,tcrlftttt最后 0无接收提醒 1提醒"
msg48="dontusetdonthextAT+NSOST=1,47.98.189.232,1990,3,303132tcrlftttt发送"
msg49="dontusetdonthextAT+NSOSTF=1,47.98.189.232,1990,0x200,3,303132tcrlftttt发送 RAI"
msg50="dontusetdonthextAT+NSORF=1,255tcrlftttt逐条读取接收数据"
msg51="dontusetdonthextAT+NSOCL=1tcrlftttt关闭"
msg52=dontusetdonthext----------------------- MQTT------------------------tcrlftttt
msg53="dontusetdonthextAT+MQTTCFG="a1mrhXkyNHk.iot-as-mqtt.cn-shanghai.aliyuncs.com",1883,"86997|securemode=3,signmethod=hmacsha1|",60,"test1&a1mrhXkyNHk","6D138D1FFD0BED5752015CA6B55C05D8DF2FAD22",1tcrlftttt配置MQTT"
msg54="dontusetdonthextAT+MQTTOPEN=1,1,0,0,0,"",""tcrlftttt连接服务器"
msg55="dontusetdonthextAT+MQTTPUB="/sys/a1mrhXkyNHk/test1/thing/event/property/post",0,0,0,0,"{"params":{"Temprature":30,"Humidity":30}}"tcrlftttt发布"
msg56="dontusetdonthextAT+MQTTSUB="/a1mrhXkyNHk/test1/user/get",0tcrlftttt订阅"
msg57="dontusetdonthextAT+MQTTPING=1tcrlftttt回显心跳ACK"
msg58=dontusetdonthextAT+MQTTDISCtcrlftttt断开连接
msg59=dontusetdonthexttcrlftttt
msg60=dontusetdonthexttcrlftttt
msg61=dontusetdonthexttcrlftttt
msg62=dontusetdonthexttcrlftttt
msg63=dontusetdonthexttcrlftttt
msg64=dontusetdonthexttcrlftttt
totalmsg=65

一、开机检测

二、连接、信号和状态查询

三、CDP服务器

四、注册与模式设置

五、设置pdp

六、设置TCP连接

七、设置UDP连接

八、设置MQTT连接

最后

以上就是潇洒仙人掌为你收集整理的中移M5310A NBIoT模组通信测试命令的全部内容,希望文章能够帮你解决中移M5310A NBIoT模组通信测试命令所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(75)

评论列表共有 0 条评论

立即
投稿
返回
顶部