1. AT+E
Function: enable/ disable echo function
Tableat:
AT+E<CR>
+ok<CR>< LF ><CR>< LF >
From the transparent mode to AT command, module default enable echo function, after the first time user enter the AT+E, disable the echo function, the second time user enter the “AT+E” enable the echo function.
2. AT+ENTM
Function: enter the transparent transmission mode.
Tableat:
AT+ENTM<CR>
+ok<CR>< LF ><CR>< LF >
After the command is executed correctly, the module switches from command mode to transparent transmission mode. If need to enter the command mode again, enter "+++" and the confirmation code to return to the command mode
3. AT+NETP
Function: Query/Set network protocol parameters
Tableat:
Query : AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Setting: AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol: protocol type, including
TCP
UDP
CS: Client or server, including
SERVER: server
CLIENT: client
port: protocol port, decimal number, less than 65535
Note: when in TCP Server and UDP Server mode, cannot be 80(HTTP port), 8000(websocket port), 49000(WAVESHARE-link port).
IP: when module works as TCP client or UDP, server address(can be a IP address or a domain name of server). After restarting the module, parameters take effect.
4. AT+UART
Function: Query/Set network protocol parameters
Tableat:
Query : AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Setting: AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol: protocol type, including
TCP
UDP
CS: Client or server, including
SERVER: server
CLIENT: client
port: protocol port, decimal number, less than 65535
Note: when in TCP Server and UDP Server mode, cannot be 80(HTTP port), 8000(websocket port), 49000(WAVESHARE-link port).
IP: when module works as TCP client or UDP, server address(can be a IP address or a domain name of server). After restarting the module, parameters take effect.
5. AT+UARTF
Function: Query/Set network protocol parameters
Tableat:
Query : AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Setting: AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol: protocol type, including
TCP
UDP
CS: Client or server, including
SERVER: server
CLIENT: client
port: protocol port, decimal number, less than 65535
Note: when in TCP Server and UDP Server mode, cannot be 80(HTTP port), 8000(websocket port), 49000(WAVESHARE-link port).
IP: when module works as TCP client or UDP, server address(can be a IP address or a domain name of server). After restarting the module, parameters take effect.
6. AT+UARTFT
Function: Query/Set auto-frame trigger time
Tableat:
Query : AT+ UARTFT<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ UARTFT=<time><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time: auto-frame trigger time, unit is ms. Range: 100~10000 .
7. AT+UARTFL
Function: Query/Set auto-frame trigger time
Tableat:
Query : AT+ UARTFT<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ UARTFT=<time><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time: auto-frame trigger time, unit is ms. Range: 100~10000 .
8. AT+TMODE
Function: Query/Set data transmission mode(transparent transmission mode or protocol mode) Tableat:
Query : AT+TMODE<CR>
+ok=<tmode><CR>< LF ><CR>< LF >
Setting: AT+ TMODE=<tmode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
tmode: data transmission mode, including
Through: transparent transmission mode
Agreement: serial command mode
Modbus: Modbus TCP<=>Modbus RTU mode
Httpdclient: HTTPD Client mode
After restarting the module, parameters take effect.
Note: After power on, works in transparent transmission mode by default.
9. AT+WMODE
Function: Query/Set WIFI mode(AP or STA)
Tableat:
Query : AT+WMODE<CR>
+ok=<mode><CR>< LF ><CR>< LF >
Setting: AT+ WMODE=<mode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: WIFI mode, including
AP: Wireless access point mode
STA: Wireless terminal mode
After restarting the module, parameters take effect.
10. AT+WSKEY
Function: Query/Set encryption parameters in STA mode.
Tableat:
Query : AT+WSKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Setting: AT+ WSKEY=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
auth: Authentication mode, including
OPEN
SHARED
WPAPSK
WPA2PSK
encry: Encryption algorithm, including
NONE: valid when auth=OPEN.
WEP- H: valid when auth=OPEN or SHARED (WEP, HEX)
WEP-A: valid when auth=OPEN or SHARED (WEP, ASCII)
TKIP: valid when auth= WPAPSK/WPA2PSK
AES: valid when auth= WPAPSK/WPA2PSK
key: password, when encry=WEP- H, password is hexadecimal, 10 or 26 digits; when encry=WEP-A, password is ASCII, 5 or 13 digits; when WPA- PSK and WPA2- PSK, password is ASCII, 8~63digits.
This parameter only valid in STA mode, after restarting the module, parameters take effect. But can also be set in AP mode.
11. AT+WSSSID
Function: Query/Set AP’s SSID in STA mode.
Tableat:
Query : AT+WSSSID<CR>
+ok=<ap’s ssid><CR>< LF ><CR>< LF >
Setting: AT+ WSSSID=<ap’s ssid ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ap’s ssid: AP’s SSID
This parameter only valid in STA mode, after restarting the module, parameters take effect. But can also be set in AP mode.
12. AT+WSLK
Function: Query the link status in STA mode (only available in STA mode)
Tableat:
Query : AT+ WSLK<CR>
+ok=<ret><CR>< LF ><CR>< LF >
Parameters:
ret:
If not connected: Returns “Disconnected”.
If connected: Returns "SSID of AP (MAC of AP)" This parameter only valid in STA mode.
13. AT+WEBU
Function: Query/Set web server username and password.
Tableat:
Query : AT+WEBU<CR>
+ok=<WAVESHARE,password><CR>< LF ><CR>< LF >
Setting: AT+ WEBU=< WAVESHARE,password ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
WAVESHARE: username
password: password.
14. AT+WAP
Function: Query/Set parameters in AP mode
Tableat:
Query : AT+WAP<CR>
+ok=<wifi_mode,ssid,channel><CR>< LF ><CR>< LF >
Setting: AT+ WAP=<wifi_mode,ssid,channel><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
wifi_mode: WIFI mode, including
11BG
11B
11G
11BGN
11N
ssid: SSID in AP mode
channel: WIFI channel, AUTO or CH1~CH11
This parameter only valid in AP mode, after restarting the module, parameters take effect. But can also be set in STA mode.
AT+WAP=11BGN,SOCKAB+STA-TEST,Auto
15. AT+WAKEY
Function: Query/Set encryption parameters in AP mode
Tableat:
Query : AT+WAKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Setting: AT+ WAKEY=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
auth: Authentication mode, including
OPEN
SHARED
WPAPSK
WPA2PSK
encry: Encryption algorithm, including
NONE: valid when auth=OPEN
WEP- H: valid when auth=OPEN or SHARED (WEP, HEX)
WEP-A: valid when auth=OPEN or SHARED (WEP, ASCII)
TKIP: valid when auth= WPAPSK/WPA2PSK.
AES: valid when auth= WPAPSK/WPA2PSK
TKIPAES: valid when auth= WPAPSK/WPA2PSK
key: password, when encry=WEP- H, password is hexadecimal, 10 or 26 digits; when encry=WEP-A, password is ASCII, 5 or 13 digits; when WPA- PSK and WPA2- PSK, password is ASCII, 8~63digits.
This parameter only valid in AP mode, after restarting the module, parameters take effect. But can also be set in STA mode.
16. AT+MSLP
Function: Query/Set encryption parameters in AP mode
Tableat:
Query : AT+WAKEY<CR>
+ok=<auth,encry,key><CR>< LF ><CR>< LF >
Setting: AT+ WAKEY=< auth,encry,key><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
auth: Authentication mode, including
OPEN
SHARED
WPAPSK
WPA2PSK
encry: Encryption algorithm, including
NONE: valid when auth=OPEN
WEP- H: valid when auth=OPEN or SHARED (WEP, HEX)
WEP-A: valid when auth=OPEN or SHARED (WEP, ASCII)
TKIP: valid when auth= WPAPSK/WPA2PSK.
AES: valid when auth= WPAPSK/WPA2PSK
TKIPAES: valid when auth= WPAPSK/WPA2PSK
key: password, when encry=WEP- H, password is hexadecimal, 10 or 26 digits; when encry=WEP-A, password is ASCII, 5 or 13 digits; when WPA- PSK and WPA2- PSK, password is ASCII, 8~63digits.
This parameter only valid in AP mode, after restarting the module, parameters take effect. But can also be set in STA mode.
17. AT+WSCAN
Function: Search around AP
Tableat:
AT+ WSCAN<CR>
+ok=<ap_site><CR>< LF ><CR>< LF >
Parameters:
ap_site: Searched APs
The first line returned is "RSSI, SSID, BSSID, Channel, Encryption, Authentication", which are the signal strength, network name, MAC address, channel, authentication mode, and encryption algorithm.
18. AT+TCPLK
Function: Query whether TCP connection is established
Tableat:
AT+ TCPLK<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Parameters:
sta.: Returns whether TCP connection is established, for example:
on, TCP connection is established
off, TCP connection is not established
19. AT+TCPDIS
Function: Connect / Disconnect TCP (only valid when TCP Client)
Tableat:
Query : AT+ TCPDIS <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ TCPDIS=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : Returns whether the TCP Client is linkable, for example on, connectable
off, not connectable
When setting, "off" sets the module as unlinkable .Immediately after the command is completed, the module disconnects the link and does not reconnect."On" sets the module to a linkable state. After the command is completed, the module will immediately reconnect to the server.
20. AT+WANN
Function: Query/Set WAN Setting, only valid in STA mode.
Tableat:
Query : AT+WANN<CR>
+ok=<mode,address,mask,gateway><CR>< LF ><CR>< LF >
Setting: AT+ WANN=< mode,address,mask,gateway ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: IP mode of WAN, for example
static, static IP
DHCP, dynamic IP
address. : WAN IP address
mask: WAN subnet mask
gateway: WAN gateway address
21. AT+LANN
Function: Query/Set LAN settings, only valid in AP mode
Tableat:
Query : AT+LANN<CR>
+ok=<address,mask ><CR>< LF ><CR>< LF >
Setting: AT+ LANN=<address,mask ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
address. : LAN IP address
mask: LAN subnet mask
Note: The address of the WAN port of the module viewed by WANN and the address of the LAN port of the module viewed by LANN. The two IPs cannot be set on the same network segment, otherwise the module does not work properly.
22. AT+TCPTO
Function: Query/Set TCP timeout
Tableat:
Query : AT+ TCPTO<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ TCPTO=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time. : TCP timeout, <= 600 (600s), >=0 (0 means no timeout), default is 0 .
TCP timeout: The module TCP channel starts counting when no data is received, and clears the count when data is received. If the timing exceeds the TCPTO time, the connection is disconnected. When the module works on the TCP Client, it will actively reconnect to TCP Server. When as a TCP server, TCP client needs to actively reconnect.
23. AT+MAXSK
Function: Query /Set the maximum number of TCP connections
Tableat:
Query : AT+ MAXSK<CR>
+ok=<num><CR>< LF ><CR>< LF >
Setting: AT+ MAXSK =<num ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
num: maximum number of TCP connections, range: 1~24, default is 24.
When set to TCP Server, the module can support a maximum of 24 TCP connections. If users do not need so many connections, can set to reduce appropriately.
24. AT+TCPB
Function: Enable/Disable socket B.
Tableat:
Query : AT+TCPB <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ TCPB=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : Returns whether socket B is enabled.
on, enable
off, disable
After restarting the module, parameters take effect.
25. AT+TCPPTB
Function: Query/Set TCPB port number
Tableat:
Query : AT+TCPPTB <CR>
+ok=<port><CR>< LF ><CR>< LF >
Setting: AT+ TCPPTB=<port><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
port: Protocol port, decimal number, less than 65535 After restarting the module, parameters take effect.
26. AT+TCPADDB
Function: Query/Set TCPB server address
Tableat:
Query : AT+TCPADDB <CR>
+ok=<add><CR>< LF ><CR>< LF >
Setting: AT+ TCPADDB=<add><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
add: TCPB server address (server’s IP address, or a domain name)
After restarting the module, parameters take effect.
27. AT+TCPTOB
Function: Query/Set TCPB timeout
Tableat:
Query : AT+ TCPTOB<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ TCPTOB=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time. : TCPB timeout, <= 600 (600s), >=0 (0 means no timeout), default is 0.
28 . AT+TCPLKB
Function: Query whether TCPB connection is established
Tableat:
AT+ TCPLKB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Parameters:
sta.: returns whether TCOB is established.
on, established
off, not established
29. AT+EPHY
Function: Query whether TCPB connection is established
Tableat:
AT+ TCPLKB<CR>
+ok=<sta><CR>< LF ><CR>< LF >
Parameters:
sta.: returns whether TCOB is established.
on, established
off, not established
30. AT+FUDLX
Function: Enable/Disable RS485
Tableat:
AT+FUDLX=on/off<CR>
+ok<CR>< LF ><CR>< LF >
This command enables or disables the RS485 interface. By default, RS485 is enabled, and the 485 control pin is RTS. This command takes effect after restoring factory settings.
31. AT+AABR
Function: Enable/Disable RFC2217 function
Tableat:
AT+AABR=on/off<CR>
+ok<CR>< LF ><CR>< LF >
This command enables or disables synchronization (RFC2217) function, default is enabled.
32. AT+DHCPDEN
Function: Enable/Disable RFC2217 function
Tableat:
AT+AABR=on/off<CR>
+ok<CR>< LF ><CR>< LF >
This command enables or disables synchronization (RFC2217) function, default is enabled.
33. AT+HIDESSID
Function: Enable/Disable RFC2217 function
Tableat:
AT+AABR=on/off<CR>
+ok<CR>< LF ><CR>< LF >
This command enables or disables synchronization (RFC2217) function, default is enabled.
34. AT+DOMAIN
Function: Query/Set web server domain name
Tableat:
Query : AT+ DOMAIN<CR>
+ok=<name><CR>< LF ><CR>< LF >
Setting: AT+ DOMAIN=<name ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
name: web server domain name
35. AT+RELD
Function: Reset the module
Tableat:
AT+ RELD<CR>
+ok=rebooting…<CR>< LF ><CR>< LF >
This command restores the factory settings of the module, then the module will restart automatically.
36. AT+Z
Function: restart the module
Tableat:
AT+ Z<CR>
Module restarts.
37. AT+MID
Function: Query module’s MID
Tableat:
Query : AT+MID<CR>
+ok=<module_id><CR>< LF ><CR>< LF >
Parameters:
module_id: module MID, Tableat
A11-yymmddnnnn
yymmdd: Represents the production date, year, month and day
nnnn: Indicates the production serial number
38. AT+VER
Function: Query firmware version
Tableat:
Query : AT+VER<CR>
+ok=<ver><CR>< LF ><CR>< LF >
Parameters:
ver: returns firmware version of module.
39. AT+H
Function: Help command
Tableat:
Query : AT+H<CR>
+ok=<commod help><CR>< LF ><CR>< LF >
Parameters: commod help: Command line instructions
40. AT+WSQY
Function: Query/Set RSSI threshold(percentage) to switch among three AP in STA mode
Tableat:
Query : AT+ WSQY<CR>
+ok=<ret><CR>< LF ><CR>< LF >
Setting: AT+ WSQY=< ret><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ret:
The percentage of RSSI threshold. If the RSSI threshold is 50%, the setting should be “AT + WSQY = 50 <CR>”
Note: If set to 100, the module will not switch WIFI network automatically. If the customer uses only one STA parameter, be sure to set this parameter to 100 .
41. AT+HTPMODE
Function: Query/Set HTTP Client mode parameters configuration way (new/old)
Tableat:
Query : AT+HTPMODE<CR>
+ok=<type><CR>< LF ><CR>< LF >
Setting: AT+ HTPMODE=<type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
type: Authentication mode, including
new : New HTTP Client mode parameters configuration way
old: old HTTP Client mode parameters configuration way
This parameter is only valid in HTTPD Client mode. Takes affect after restarting the module . But this parameter can also be set in other modes.
42. AT+HTTPURL
Function: Query/Set IP address and port of HTTP server (old).
Tableat:
Query : AT+ HTTPURL<CR>
+ok=<ip>,<port><CR>< LF ><CR>< LF >
Setting: AT+ HTTPURL=<ip>,<port><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ip: IP address of HTTP server.
port: port number of HTTP server.
43. AT+HTTPTP
Function: Query/Set HTTP requesting type in HTTP Client mode (old).
Tableat:
Query : AT+ HTTPTP<CR>
+ok=<Type><CR>< LF ><CR>< LF >
Setting: AT+ HTTPTP=<Type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Type: HTTP requesting type, including
GET
PUT
POST
44. AT+HTTPPH
Function: Query/Set HTTP header path (old).
Tableat:
Query : AT+ HTTPPH<CR>
+ok=<path><CR>< LF ><CR>< LF >
Setting: AT+ HTTPPH=<path><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
path: HTTP header path.
45. AT+HTTPCN
Function: Query/Set HTTP header connection mode (old).
Tableat:
Query : AT+ HTTPCN<CR>
+ok=<Connection><CR>< LF ><CR>< LF >
Setting: AT+ HTTPCN=<Connection><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Connection: HTTP header connection.
46. AT+HTTPUA
Function: Query/Set HTTP header User-Agent (old).
Tableat:
Query : AT+ HTTPUA<CR>
+ok=<User-Agent><CR>< LF ><CR>< LF >
Setting: AT+ HTTPUA=<User-Agent><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
User-Agent: HTTP header User-Agent.
47. AT+HTPSV
Function: Query/Set HTTP server address and port number (new).
Tableat:
Query : AT+ HTPSV<CR>
+ok=<ip>,<port><CR>< LF ><CR>< LF >
Setting: AT+ HTPSV=<ip>,<port><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
ip: HTTP server IP address
port: HTTP server IP port
This parameter is only valid in HTTPD Client mode, takes affect after restarting the module. But can also be set in other modes.
48. AT+HTPTP
Function: Query/Set HTTP requesting type (new).
Tableat:
Query : AT+ HTPTP<CR>
+ok=<Type><CR>< LF ><CR>< LF >
Setting: AT+ HTPTP=<Type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
Type: HTTP requesting type, including
GET
PUT
POST
This parameter is only valid in HTTPD Client mode, takes affect after restarting the module .But can also be set in other modes.
49. AT+HTPURL
Function: Query/Set HTTP URL (new).
Tableat:
Query : AT+ HTPURL<CR>
+ok=<path><CR>< LF ><CR>< LF >
Setting: AT+ HTPURL=<path><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
path: HTTP requesting path.
50. AT+HTPHEAD
Function: Query/Set HTTP header (new).
Tableat:
Query : AT+ HTPHEAD<CR>
+ok=<head><CR>< LF ><CR>< LF >
Setting: AT+ HTPHEAD=<head><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
head: HTTP header content. “Enter” in header should be replaced by “<<CRLF>>”, up to 200 bytes.
51. AT+REGEN
Function: Query/Set registration package type
Tableat:
Query : AT+ REGEN<CR>
+ok=<mode><CR>< LF ><CR>< LF >
Setting: AT+ REGEN=<mode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: registration packet type, including
mac: registration package is MAC address
cloud: WAVESHARE Cloud
WAVESHARE: user custom registration package
off: Disable registration package function For example: AT+REGEN=MAC
52. AT+REGTCP
Function: Query/Set registration package sending type
Tableat:
Query : AT+ REGTCP<CR>
+ok=<type><CR>< LF ><CR>< LF >
Setting: AT+ REGTCP=<type><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
type: registration package sending type, including
first: sending when establish a connection
every: sending when data is sent every time
53. AT+WTPWR
Function: Set module’s transmit power
Tableat:
Query : AT+ WTPWR <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ WTPWR =<sta><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
sta.: module’s transmit power, ranging from 0 to 100. Default is 100
54. AT+REGCLOUD
Function: Query/Set WAVESHARE Cloud ID and password.
Tableat:
Query : AT+REGCLOUD<CR>
+ok=<name,password><CR><LF><CR><LF>
Setting: AT+REGCLOUD=<name,password><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
name : device ID, 20 digits.
password: password, up to 8 digits.
For example: AT+REGCLOUD=00004219000000000600, 123456
55. AT+REGWAVESHARE
Function: Query/Set user custom registration package content
Tableat:
Query : AT+REGWAVESHARE<CR>
+ok=<WAVESHARE><CR><LF><CR><LF>
Setting: AT+REGWAVESHARE=<WAVESHARE><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
WAVESHARE: Length is limited to 40 characters, HEX Tableat.
For example: set the registration package content to: www.waveshare.com, “77 77 77 2E 75 73 72 2E 63 6E” in HEX
AT+REGWAVESHARE=7777772E7573722E636E
56. AT+TCPDPEN
Function: Enable/Disable socket distribution function
Tableat:
Query : AT+TCPDPEN <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ TCPDPEN =<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : returns whether socket distribution function is enabled, including
on, enabled
off, disabled
Parameter takes affect after restarting the module .
57. AT+HEARTEN
Function: Enable/Disable heartbeat package function.
Tableat:
Query : AT+HEARTEN <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ HEARTEN =<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : returns whether heartbeat package is enabled. including
on, heartbeat package function is enabled
off, heartbeat package function is disabled
Parameter takes affect after restarting the module .
58. AT+HEARTTP
Function: Query/Set heartbeat package sending type .
Tableat:
Query : AT+HEARTTP <CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ HEARTTP =<NET/COM><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : returns heartbeat package sending type, including
NET, heartbeat package is sent to network
COM, heartbeat package is sent to serial port
Parameter takes affect after restarting the module .
59. AT+HEARTDT
Function: Query/Set heartbeat package data
Tableat:
Query : AT+HEARTDT<CR>
+ok=<WAVESHARE><CR><LF><CR><LF>
Setting: AT+HEARTDT=<WAVESHARE><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
WAVESHARE: Length is limited to 40 characters. HEX Tableat.
For example: heartbeat package data: www.WAVESHARE.cn, “77 77 77 2E 75 73 72 2E 63 6E” in HEX.
AT+REGWAVESHARE=7777772E7573722E636E
60. AT+HEARTTM
Function: Query/Set heartbeat package sending interval
Tableat:
Query : AT+ HEARTTM<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ HEARTTM=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time. : heartbeat package sending interval, 1~65535s, default is 30s.
61. AT+REBOOTEN
Function: Enable/Disable timing restart function
Tableat:
Query : AT+REBOOTEN<CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ REBOOTEN=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : returns whether timing restart function is enabled, including
on, timing restart function is enabled
off, timing restart function is disabled Parameter takes affect after restarting the module .
62. AT+REBOOTT
Function: Query/Set timing restart time
Tableat:
Query : AT+ REBOOTT<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ REBOOTT=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time. : timing restart time, 1-720h, default is 24h.
63. AT+TIMEOUTEN
Function: Enable/Disable timeout restart function
Tableat:
Query : AT+TIMEOUTEN<CR>
+ok=<sta.><CR>< LF ><CR>< LF >
Setting: AT+ TIMEOUTEN=<on/off><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
When querying, sta. : returns whether timeout restart function is enabled, including
on, timeout restart function is enabled
off, timeout restart function is disabled
Parameter takes affect after restarting the module .、
64. AT+TIMEOUTT
Function: Query/Set timeout restart time
Tableat:
Query : AT+ TIMEOUTT<CR>
+ok=<time><CR>< LF ><CR>< LF >
Setting: AT+ TIMEOUTT=<time ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
time. : timeout restart time, 60-65535s, default is 3600s .
65. AT+FAPSTA
Function: Enable/Disabled AP+STA function
Tableat:
AT+FAPSTA=on/off<CR>
+ok<CR>< LF ><CR>< LF >
This command enables or disables AP+STA function, default is disabled. Parameter takes affect after restarting the module.
66. AT+HTTPSCEN
Function: Query/Set HTTPD Client mode: long/short
Tableat:
Query : AT+HTTPSCEN <CR>
+ok=<mode><CR>< LF ><CR>< LF >
Setting: AT+HTTPSCEN =<mode><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
mode: HTTPD Client mode, including
long: long connection mode
short: short connection mode
Parameter takes affect after restarting the module .
67. AT+MODBPOLLEN
Function: Enable/Disable Modbus polling function
Tableat:
AT+MODBPOLLEN =on/off<CR>
+ok<CR>< LF ><CR>< LF >
Default is “off”. Parameter takes affect after restarting the module .
68. AT+UPDATE
Function: Query/Set remote upgrade parameters.
Tableat:
Query : AT+UPDATE<CR>
+ok=<state, server address, server port, interval ><CR>< LF ><CR>< LF >
Setting: AT+ UPDATE =< state, server address, server port, interval ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
state: status,
on/off
server address: server address
default: ycsj1.WAVESHARE.cn
server port: server port
Default: 30001
interval: reporting interval
Default is 30min, maximum time interval (max): 120min
Parameter takes affect after restarting the module .
69. AT+MONITOR
Function: Query/Set remote monitoring parameters
Tableat:
Query : AT+ MONITOR <CR>
+ok=< state , interval ><CR>< LF ><CR>< LF >
Setting: AT+ MONITOR=< state , interval ><CR>
+ok <CR>< LF ><CR>< LF >
Parameters:
state: status
on/off
interval: reporting interval
default is 10min, maximum time interval (max): 120min
Parameter takes affect after restarting the module .