Chengdu Ebyte Electronic Technology Co.,Ltd
E840-DTU(4G-02E) User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd
24
AT+LINKSTA2
Function
:
inquire whether TCP connection is established
Format
:
inquire
transmit
:
AT+LINKSTA2<CR>
return
:
<CR><LF>+OK=<sta><CR><LF>
Parameter
:
Sta
whether establish TCP connection
,
Connect(TCP connection)/ Disconnect(TCP cut off)
AT+LINKSTA3
Function
:
inquire whether TCP connection is established
Format
:
inquire
transmit
:
AT+LINKSTA3<CR>
return
:
<CR><LF>+OK=<sta><CR><LF>
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.
AT+SOCK3
Содержание 4G-02E
Страница 1: ...E840 DTU 4G 02E E840 DTU 4G 02E ...