Ebyte E-840-TTL-4G02 User Manual page 24

4g/lte serial module
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents