Chengdu Ebyte Electronic Technology Co,.Ltd E810-DTU User Manual
Copyright ©2012–2020, Chengdu Ebyte Electronic Technology Co,.Ltd
gateway gateway address
Example: AT + WANN = STATIC, 192.168.0.7,255.255.255.0,192.168.0.1 <CR>
7.4.11 AT + DNS: Query / Set Module DNS Information
Function: Query / set DNS server address.
Format: Query
Send: AT + DNS <CR>
Returns: <CR> <LF> + OK = <address 1, address2> <CR> <LF>
Set up
Send: AT + DNS = <address1, address2> <CR>
Returns: <CR> <LF> + OK <CR> <LF>
Parameters:
address1 Preferred DNS server address (the default value is 61.139.2.69).
address2 The alternate DNS server address (the default value is 192.168.4.1).
Example: AT + DNS = 61.139.222.77,112.118.4.222 <CR>
7.4.12 AT + SOCKA1: Query / set the serial port corresponding SOCKET A1 network protocol parameters
Function: Query / set the serial port corresponding SOCKET A1 network protocol parameters.
Format: Query
Send: AT + SOCKA1 <CR>
Returns: <CR> <LF> + OK = <protocol, ip, port> <CR> <LF>
Set up
Send: AT + SOCKA1 = <protocol, ip, port> <CR>
Returns: <CR> <LF> + OK <CR> <LF>
parameter:
potocol protocol type, TCPS / TCPC / UDPS / UDPC
TCPS corresponds to TCP server
TCPC corresponds to TCP client
UDPS corresponds to UDP server
UDPC corresponds to UDP client
ip When the module is set to "CLIENT", the IP address or domain name of the target server
port Port number: Local port number in Server mode, remote port number in Client mode, decimal number,
less than 65535.
Example: AT + SOCKA1 = TCPC, 192.168.0.201,8234 <CR>
7.4.13 AT + SOCKB1: Query / set the serial port corresponding SOCKET B1 network protocol parameters
Function: Query / set the serial protocol corresponding SOCKET B1 network protocol parameters.
Format: Query
Send: AT + SOCKB1 <CR>
Returns: <CR> <LF> + OK = <protocol, ip, port> <CR> <LF>
Set up
Send: AT + SOCKB1 = <protocol, ip, port> <CR>
Returns: <CR> <LF> + OK <CR> <LF>
parameter: