Copyright © Neoway Technology Co., Ltd
9.3 Closing a Transparent Link: +TRANSCLOSE ............................................................................ 71
10 TCP Server AT Commands.................................................................... 72
10.1 Setting TCP Listening for the Server: +TCPLISTEN ................................................................ 72
10.2 Closing the Listening Connection: +CLOSELISTEN ............................................................... 73
10.3 Closing Connections with the Client: +CLOSECLIENT ........................................................... 73
10.4 Receiving Data from the Client: +TCPRECV(S) ...................................................................... 74
10.5 Sending Data to the Client: +TCPSENDS ............................................................................... 74
11 Unlimited UDP Server AT Commands ................................................... 76
11.1 Setting UDP Listening for Server: +FUDPLISTEN .................................................................. 76
11.2 Receiving Data from the Client: +FUDPRECV(S) ................................................................... 77
11.3 Sending Data to the Client: +FUDPSENDS ............................................................................. 77
11.4 Closing Listening for UDP Server: +CLOSEFUDPLISTEN ..................................................... 78
12 FTP AT Commands ............................................................................... 79
12.1 Logging In to the FTP Server: +FTPLOGIN ............................................................................. 79
12.2 Logging Out from the FTP Server: +FTPLOGOUT .................................................................. 80
12.3 Downloading Data from the FTP Server: +FTPGET ................................................................ 81
12.4 Uploading Data to the FTP Server: +FTPPUT ......................................................................... 83
12.5 Querying FTP Link Status: +FTPSTATUS ............................................................................... 85
13 HTTP Commands .................................................................................. 86
13.1 Setting HTTP Parameters:+HTTPPARA .................................................................................. 86
13.2 Setting Up HTTP Link:+HTTPSETUP ...................................................................................... 87
13.3 HTTP Request:+HTTPACTION ................................................................................................ 87
13.4 Closing HTTP Link: +HTTPCLOSE ......................................................................................... 91
13.5 Receiving HTTP Data: +HTTPRECV ....................................................................................... 91
13.6 HTTP Link Closing: +HTTPCLOSED ....................................................................................... 92
14 HTTPS Commands ............................................................................... 93
14.1 Setting HTTPS Parameters: +HTTPSPARA ............................................................................ 93
14.2 Setting Up HTTPS Link: +HTTPSSETUP ................................................................................ 94
14.3 HTTPS Request: +HTTPSACTION ......................................................................................... 94
14.4 Closing HTTPS Link: +HTTPSCLOSE ..................................................................................... 97
14.5 HTTPS Link Closed Report: +HTTPSCLOSED ....................................................................... 97
15 MQTT Command ................................................................................... 98
15.1 User Parameter Settings: +MQTTCONNPARAM .................................................................... 98
15.2 Will Settings: +MQTTWILLPARAM .......................................................................................... 98
15.3 Connection Command: +MQTTCONN .................................................................................... 99
15.4 Subscription: +MQTTSUB ........................................................................................................ 99
15.5 Unsubscription: +MQTTUNSUB ............................................................................................ 100
15.6 Topic Publish: +MQTTPUB .................................................................................................... 100
15.7 Disconnecting to the MQTT Server: +MQTTDISCONN ......................................................... 101
15.8 Receiving Topic Content: +MQTTSUB ................................................................................... 101
15.9 Querying MQTT Connection Status: +MQTTSTATE ............................................................. 101
15.10 Setting MQTT Mode: +MQTTMODE .................................................................................... 102
15.11 Setting MQTT Parameters: +MQTTCFG ............................................................................. 103
16 Ali MQTT Command ............................................................................ 104
16.1 Setting MQTT Mode: +IMQTTMODE ..................................................................................... 104
16.2 Setting Device Authentication: +IMQTTAUTH ....................................................................... 104