EasyManua.ls Logo

USR IOT USR-DR404 - Transparent Mode; Serial Command Mode

USR IOT USR-DR404
86 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USR-DR404 user manual www.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
19
3.1.1. Transparent mode
USR-DR404 supports transparent transmission mode. Under this mode, the data needs to be sent and received will be
transported transparently between the serial port and WIFI/Ethernet, no analyzing, minimize the complexity of use.
3.1.2. Serial command mode
In this mode ,when USR-DR404 works in UDP client or TCP client, allow sending serial data to different servers.
Diagram 14 Serial command mode
The MCU sends data packets according to the following format. After the WIFI serial server has finished parsing, it only
sends n bytes of data to the destination address. When data is returned, the data is output directly from the serial port
without parsing.
Header
Length
Function
code
Reserved
parameter
Destination
port
Destinatio
n address
Data
Parity
2
2
(n+m+
5)
1
2
2
m
n
1
Form 4 Serial command mode
Header
0x55 0xaa
Length
The total number of bytes from function code(included) to parity (do not included), the high is in front.
Function code
Bit0:(UDP0 TCP1
Bit1:(long connection0Note: Only long connections are currently supported.
Bit2:(IP: 0; domain name: 1

Table of Contents

Related product manuals