Ebyte E840-DTU User Manual page 24

Hide thumbs Also See for E840-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd
AT+LINKSTA2
Function: inquire whether TCP connection is established
Format: inquire
Parameter:
AT+LINKSTA3
Function: inquire whether TCP connection is established
Format: inquire
Parameter:
AT+SOCK
Function:
Format:
configure
Parameter:
Ip
The IP address or domain name of the target server when the module is set to "CLIENT"
Port
The port number of the server, in decimal, less than 65535.
AT+SOCK1
Function:
Format:
configure
Parameter:
1:turn on SOCK1
Ip
The IP address or domain name of the target server when the module is set to "CLIENT"
Port
The port number of the server, in decimal, less than 65535.
AT+SOCK2
Function:
Format:
configure
Parameter:
1:turn on SOCK2
Ip
The IP address or domain name of the target server when the module is set to "CLIENT"
Port
The port number of the server, in decimal, less than 65535.
AT+SOCK3
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd
transmit:AT+LINKSTA2<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Sta
whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
transmit:AT+LINKSTA3<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Sta
whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
Set/query the network protocol parameter format.
inquire
transmit:AT+SOCK<CR>
return:<CR><LF>+OK=<protocol>,<ip>,< port ><CR><LF>
transmit:AT+SOCK=<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
protocol protocol type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
Set/query the network protocol parameter format.
inquire
transmit:AT+SOCK1<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
transmit:AT+SOCK1=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
EN enable 0:turn off SOCK1
protocol type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
Set/query the network protocol parameter format.
inquire
transmit:AT+SOCK2<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
transmi:AT+SOCK2=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
EN enable 0:turn off SOCK2
protocol type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
E840-DTU(4G-02E) User Manual
24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4g-02e

Table of Contents