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