Ebyte E840-DTU User Manual page 23

4g/lte serial server
Hide thumbs Also See for E840-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co. Ltd
Parameter:
AT+SOCK
Function:
Format:
inquire
transmit:AT+SOCK<CR>
return:<CR><LF>+OK=<protocol>,<ip>,< port ><CR><LF>
configure
transmit:AT+SOCK=<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: protocol
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:
inquire
transmit:AT+SOCK1<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
configure
transmit:AT+SOCK1=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
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+SOCK2
Function:
Format:
inquire
transmit:AT+SOCK2<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
configure
transmi:AT+SOCK2=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
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.
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co. LTD.
Sta
whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
Set/query the network protocol parameter format.
protocol type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
Set/query the network protocol parameter format.
EN enable 0:turn off SOCK1
1:turn on SOCK1
protocol
type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
Set/query the network protocol parameter format.
EN enable 0:turn off SOCK2
1:turn on SOCK2
protocol type, TCPC / UDPC
TCPC
corresponding TCP client
UDPC
corresponding UDP client
E840-DTU(4G-02)User Manual
22

Advertisement

Table of Contents
loading

Table of Contents