
Chengdu Ebyte Electronic Technology Co. Ltd E840-DTU(4G-02)User Manual
Copyright
©
2012
–
2019,Chengdu Ebyte Electronic Technology Co. LTD.
22
Parameter
:
Sta whether establish TCP connection
,
Connect(TCP connection)/ Disconnect(TCP cut off)
AT+SOCK
Function
:
Set/query the network protocol parameter format.
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
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+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.
Содержание E840-DTU
Страница 1: ...E840 DTU 4G 02 4G LTE Serial Server ...