有人4G模块7S4串口配置
程序员文章站
2022-03-31 09:45:07
使用有人配套的USR-G78x工具,可以方便的在电脑上进行配置,这里记录一下不同的图形化配置和对应的串口配置指令。HTTPD模式:下面是配置过程中的串口发送和回显数据:AT+VER?AT+VER?+VER:V1.3.2AT+WKMOD=HTTPDAT+WKMOD=HTTPDOKAT+HTPTP=GETAT+HTPTP=GETOKAT+HTPURL=/AT+HTPURL=/OKAT+HTPSV=101.201.155.148,8006...
使用有人配套的USR-G78x工具,可以方便的在电脑上进行配置,这里记录一下不同的图形化配置和对应的串口配置指令。
HTTPD模式:
下面是配置过程中的串口发送和回显数据:
AT+VER?
AT+VER?
+VER:V1.3.2
AT+WKMOD=HTTPD
AT+WKMOD=HTTPD
OK
AT+HTPTP=GET
AT+HTPTP=GET
OK
AT+HTPURL=/
AT+HTPURL=/
OK
AT+HTPSV=101.201.155.148,8006
AT+HTPSV=101.201.155.148,8006
OK
AT+HTPTO=10
AT+HTPTO=10
OK
AT+HTPHD=Connection: close[0D][0A]
AT+HTPHD=Connection: close[0D][0A]
OK
AT+HTPFLT=OFF
AT+HTPFLT=OFF
OK
AT+UART=115200,8,1,NONE,NFC
AT+UART=115200,8,1,NONE,NFC
OK
AT+RFCEN=OFF
AT+RFCEN=OFF
OK
AT+UARTFT=50
AT+UARTFT=50
OK
AT+UARTFL=1024
AT+UARTFL=1024
OK
AT+E=ON
AT+E=ON
OK
AT+CMDPW=usr
AT+CMDPW=usr
OK
AT+STMSG=[USR-LTE-7S4]
AT+STMSG=[USR-LTE-7S4]
OK
AT+APN=,,
AT+APN=,,
OK
执行完毕
AT+ENTM
AT+ENTM
OK
执行完毕
网络透传模式:
AT+VER?
AT+VER?
+VER:V1.3.2
AT+WKMOD=NET
AT+WKMOD=NET
OK
AT+SOCKAEN=ON
AT+SOCKAEN=ON
OK
AT+SOCKA=TCP,101.201.155.148,8006
AT+SOCKA=TCP,101.201.155.148,8006
OK
AT+SOCKASL=LONG
AT+SOCKASL=LONG
OK
AT+SOCKATO=5
AT+SOCKATO=5
OK
AT+SOCKBEN=OFF
AT+SOCKBEN=OFF
OK
AT+SOCKCEN=OFF
AT+SOCKCEN=OFF
OK
AT+SOCKDEN=OFF
AT+SOCKDEN=OFF
OK
AT+HEARTEN=OFF
AT+HEARTEN=OFF
OK
AT+REGEN=OFF
AT+REGEN=OFF
OK
AT+SOCKIND=OFF
AT+SOCKIND=OFF
OK
AT+UART=115200,8,1,NONE,NFC
AT+UART=115200,8,1,NONE,NFC
OK
AT+RFCEN=OFF
AT+RFCEN=OFF
OK
AT+UARTFT=50
AT+UARTFT=50
OK
AT+UARTFL=1024
AT+UARTFL=1024
OK
AT+E=ON
AT+E=ON
OK
AT+CMDPW=usr
AT+CMDPW=usr
OK
AT+STMSG=[USR-LTE-7S4]
AT+STMSG=[USR-LTE-7S4]
OK
AT+APN=,,
AT+APN=,,
OK
执行完毕
本文地址:https://blog.csdn.net/qq_27508477/article/details/106588472
上一篇: 详解javascript的基本数据类型与值类型引用
下一篇: vue.js的原生日历实现方法