IOT-WORKSHOP
DTU-H10X
Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
26
Figure 15.
Multi-TCP Link Data Transmition Structure
3.5.2.
Socket B
Socket B has one work mode: TCP Client, please refer to the AT + TCPB command instruction.
AT+TCPB=on, Enable TCPB function;
AT+TCPPTB=<port>, Set TCPB port number;
AT+TCPADDB=<IP or domain>
, Set TCPB‟s server address;
AT+TCPTOB=<time>, Set TCPB timeout;
AT+TCPLKB, Query TCPB link status;
With variety work mode, socket B can provide users with flexible data transfer methods.For
example, SocketB can connect to a remote server in order to achieve remote control.
Figure 16.
Dual Socket Working Data Flow
3.6.
TCP Password Authentication
This feature is available only on Socket A TCP server mode, when the TCP client connection to
the device, it will authenticate each connected tcp.
Each TCP client first data should be
the “p0x0d+0x0a" (the password is Webpage
authentication password).
The default password is “admin", so the first piece of data should be "0x61 0x64 0x6D 0x69 0x6E
0x0D 0x0A"(Hex). If the password is correct, the Convert Server returns "OK", on the other hand,
return to the "NO" and disconnect.
The TCP connection of this function can be Webpage in TCP connection password uthentication
is opened or disable. Please refer to the specific webpage section.