中移M5310A NBIoT模组通信测试命令
生活随笔
收集整理的這篇文章主要介紹了
中移M5310A NBIoT模组通信测试命令
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
總結(jié)一下中移M5310A NBIoT模組的常用測試命令,這個命令是個腳本,可以編輯,在自己開發(fā)的串口軟件上可用,有需要的請留言。
腳本是.ini格式的文件,可以直接編輯文件然后加載到腳本區(qū)。字段用\t分割。
[General] msg0=dontuse\tdonthex\tAT\tcrlf\t\t\t\t提示符 msg1="dontuse\tdonthex\tAT+NCONFIG=AUTOCONNECT,TRUE\tcrlf\t\t\t\t自動附著網(wǎng)絡(luò)" msg2=dontuse\tdonthex\tAT+NRB\tcrlf\t\t\t\t重啟 msg3="dontuse\tdonthex\tAT+NAND=5,8,3\tcrlf\t\t\t\t設(shè)置頻段(關(guān)機下設(shè)置)" msg4=dontuse\tdonthex\tAT+NCSEARFCN\tcrlf\t\t\t\t清除存儲頻點 msg5="dontuse\tdonthex\tAT+CFUN=1\tcrlf\t\t\t\t開啟射頻" msg6="dontuse\tdonthex\tAT+CGATT=1\tcrlf\t\t\t\t附著網(wǎng)絡(luò)" msg7=dontuse\tdonthex\t\tcrlf\t\t\t\t msg8=dontuse\tdonthex\tAT+CSQ\tcrlf\t\t\t\t查詢信號強度 msg9=dontuse\tdonthex\tAT+CGATT?\tcrlf\t\t\t\t查詢網(wǎng)絡(luò)附著 msg10=dontuse\tdonthex\tAT+CEREG?\tcrlf\t\t\t\t查詢網(wǎng)絡(luò)注冊 msg11=dontuse\tdonthex\tAT+NUESTATS\tcrlf\t\t\t\t查詢UE信息 msg12=dontuse\tdonthex\tAT+NMSTATUS?\tcrlf\t\t\t\t查詢CDP服務(wù)器 msg13=dontuse\tdonthex\tAT+CSCON?\tcrlf\t\t\t\t查詢連接(1連接) msg14=dontuse\tdonthex\tAT+NPSMR?\tcrlf\t\t\t\t查詢PSM狀態(tài)(1PSM) msg15="dontuse\tdonthex\tAT+CGSN=1\tcrlf\t\t\t\t查詢IMEI" msg16=dontuse\tdonthex\tAT+CGMR\tcrlf\t\t\t\t查詢模組軟件版本號 msg17=dontuse\tdonthex\t\tcrlf\t\t\t\t msg18=dontuse\tdonthex\tAT+NCDP?\tcrlf\t\t\t\t查詢CDP msg19="dontuse\tdonthex\tAT+NCDP=117.60.157.137,5683\tcrlf\t\t\t\t電信商業(yè)" msg20="dontuse\tdonthex\tAT+NCDP=180.101.147.115,5683\tcrlf\t\t\t\t電信測試" msg21=dontuse\tdonthex\t\tcrlf\t\t\t\t msg22=dontuse\tdonthex\tAT+MREGSWT?\tcrlf\t\t\t\t查詢注冊模式 0手動1自動 msg23="dontuse\tdonthex\tAT+MREGSWT=1\tcrlf\t\t\t\t設(shè)置自動注冊模式(默認(rèn))" msg24="dontuse\tdonthex\tAT+MLWSREGIND=0\tcrlf\t\t\t\t手動注冊平臺 0注冊1注銷" msg25=dontuse\tdonthex\tAT+NSECSWT?\tcrlf\t\t\t\t查詢加密方式 msg26="dontuse\tdonthex\tAT+NSECSWT=0\tcrlf\t\t\t\t0非加密 1DTLS 2DTLS+" msg27="dontuse\tdonthex\tAT+NSETPSK=IMEI,psk\tcrlf\t\t\t\t設(shè)置psk" msg28="dontuse\tdonthex\tAT+MLWM2MENABLE=0\tcrlf\t\t\t\t禁用lwm2m 0D 1E" msg29="dontuse\tdonthex\tAT+CPSMS=0\tcrlf\t\t\t\t0關(guān)閉PSM 1啟用" msg30="dontuse\tdonthex\tAT+CPSMS=1,,,01000011,00100001\tcrlf\t\t\t\t設(shè)置T3412和T3324,0-D" msg31=dontuse\tdonthex\tAT+CPSMS?\tcrlf\t\t\t\t查詢PSM設(shè)置 msg32="dontuse\tdonthex\tAT+CEDRXS=0,5,0101\tcrlf\t\t\t\teDRX設(shè)置 0-關(guān)閉 1-開啟" msg33=dontuse\tdonthex\tAT+CEDRXS?\tcrlf\t\t\t\t查詢eDRX設(shè)置 msg34="dontuse\tdonthex\tAT+NPTWEDRXS=1,5,0111,0010\tcrlf\t\t\t\t設(shè)置PTW eDRX 0-關(guān)閉" msg35=dontuse\tdonthex\tAT+NPTWEDRXS?\tcrlf\t\t\t\t查詢PTW eDRX msg36=dontuse\tdonthex\t\tcrlf\t\t\t\t msg37="dontuse\tdonthex\tAT+CGDCONT=0,\"IP\",\"sdlyxzxnbmjy.vpdn.sc\"\tcrlf\t\t\t\t設(shè)置pdp" msg38="dontuse\tdonthex\tAT+CGAUTH=0,1,\"1@sdlyxzxnbmjy.vpdn.sc\",\"1\"\tcrlf\t\t\t\t設(shè)置pdp用戶密碼" msg39="dontuse\tdonthex\tAT+CGACT=1,0\tcrlf\t\t\t\t激活pdp(一般不用)" msg40=dontuse\tdonthex\t----------------------TCP-----------------------------\tcrlf\t\t\t\t msg41="dontuse\tdonthex\tAT+NSOCR=\"STREAM\",6,6003,1\tcrlf\t\t\t\t創(chuàng)建tcp" msg42="dontuse\tdonthex\tAT+NSOCO=1,192.168.1.5,9002\tcrlf\t\t\t\t連接服務(wù)器" msg43="dontuse\tdonthex\tAT+NSOSD=1,4,FEFEFEFE\tcrlf\t\t\t\t發(fā)送數(shù)據(jù)" msg44="dontuse\tdonthex\tAT+NSORF=1,255\tcrlf\t\t\t\t逐條讀取接收數(shù)據(jù)" msg45="dontuse\tdonthex\tAT+NSOCL=1\tcrlf\t\t\t\t關(guān)閉連接" msg46=dontuse\tdonthex\t----------------------UDP-----------------------------\tcrlf\t\t\t\t msg47="dontuse\tdonthex\tAT+NSOCR=\"DGRAM\",17,6003,\tcrlf\t\t\t\t最后 0無接收提醒 1提醒" msg48="dontuse\tdonthex\tAT+NSOST=1,47.98.189.232,1990,3,303132\tcrlf\t\t\t\t發(fā)送" msg49="dontuse\tdonthex\tAT+NSOSTF=1,47.98.189.232,1990,0x200,3,303132\tcrlf\t\t\t\t發(fā)送 RAI" msg50="dontuse\tdonthex\tAT+NSORF=1,255\tcrlf\t\t\t\t逐條讀取接收數(shù)據(jù)" msg51="dontuse\tdonthex\tAT+NSOCL=1\tcrlf\t\t\t\t關(guān)閉" msg52=dontuse\tdonthex\t----------------------- MQTT------------------------\tcrlf\t\t\t\t msg53="dontuse\tdonthex\tAT+MQTTCFG=\"a1mrhXkyNHk.iot-as-mqtt.cn-shanghai.aliyuncs.com\",1883,\"86997|securemode=3,signmethod=hmacsha1|\",60,\"test1&a1mrhXkyNHk\",\"6D138D1FFD0BED5752015CA6B55C05D8DF2FAD22\",1\tcrlf\t\t\t\t配置MQTT" msg54="dontuse\tdonthex\tAT+MQTTOPEN=1,1,0,0,0,\"\",\"\"\tcrlf\t\t\t\t連接服務(wù)器" msg55="dontuse\tdonthex\tAT+MQTTPUB=\"/sys/a1mrhXkyNHk/test1/thing/event/property/post\",0,0,0,0,\"{\"params\":{\"Temprature\":30,\"Humidity\":30}}\"\tcrlf\t\t\t\t發(fā)布" msg56="dontuse\tdonthex\tAT+MQTTSUB=\"/a1mrhXkyNHk/test1/user/get\",0\tcrlf\t\t\t\t訂閱" msg57="dontuse\tdonthex\tAT+MQTTPING=1\tcrlf\t\t\t\t回顯心跳ACK" msg58=dontuse\tdonthex\tAT+MQTTDISC\tcrlf\t\t\t\t斷開連接 msg59=dontuse\tdonthex\t\tcrlf\t\t\t\t msg60=dontuse\tdonthex\t\tcrlf\t\t\t\t msg61=dontuse\tdonthex\t\tcrlf\t\t\t\t msg62=dontuse\tdonthex\t\tcrlf\t\t\t\t msg63=dontuse\tdonthex\t\tcrlf\t\t\t\t msg64=dontuse\tdonthex\t\tcrlf\t\t\t\t totalmsg=65一、開機檢測
二、連接、信號和狀態(tài)查詢
三、CDP服務(wù)器
四、注冊與模式設(shè)置
五、設(shè)置pdp
六、設(shè)置TCP連接
七、設(shè)置UDP連接
八、設(shè)置MQTT連接
總結(jié)
以上是生活随笔為你收集整理的中移M5310A NBIoT模组通信测试命令的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SEOBOOK中文电子书-SEO基础教程
- 下一篇: GB4208中规定的外壳防护等级IP