Network Setting; Socket A; Socket B - Jinan USR IOT Technology USR-WIFI232-A2 User Manual

Table of Contents

Advertisement

USR-WIFI232-A2 User Manual
http://www.usriot.com

4.7 Network Setting

USR-WIFI232-A2 module has two TCP/UDP Socket: Socket A and Socket B. Serial data written
to the module, will be sent to the Socket A and B simultaneously; TCP/UDP data that module
receives through either Socket A or B,will be sent to the serial port.
Dual Socket through different settings, you can achieve a variety of network interconnect. When
the module shipped only open Socket A, Socket B default is not to connect, if the user needs to
use, please set by AT commands.

4.7.1 Socket A

Socket A has three work mode: TCP Server, TCP Client, UDP Client,UDP Server.The setting
method, please refer to the AT+NETP command instruction.
When Socket A configured as TCP Server, it supports Multi-TCP link connection, and maximum
32 TCP clients permitted to connect to Socket A.
Multi-TCP link connection will work as following structure:
Upstream: All dates from different TCP connection or client will be transmitted to the serial port as
a sequence.
Downstream: All data from serial port (user) will be duplicate and broadcast to every TCP
connection or client.
Detailed multi-TCP link data transmition structure as following figure:
Multi-TCP Link Data Transmition Structure
Figure 23

4.7.2 Socket B

Socket B has one work mode: TCP Client, please refer to the AT+TCPB/AT+TCPPTB/TCPADDB/
TCPTOB/TCPLKBcommand instruction.
With variety work mode, socket B can provide users with flexible data transfer methods.For
example, Socket B can connect to a remote server in order to achieve remote control.
Jinan USR IOT Technology Limited
Page 30 of 76
tec@usr.cn

Advertisement

Table of Contents
loading

Table of Contents