USR-N540 User Manual www.usriot.com
Jinan USR IOT Technology Limited 51 / 73 [email protected]
Explanation
reduce
misjudgment
High is in front,
smallest is 600(00
02 58)
data bytes, baud
rate, parity
Remove 4 bits of
header and
ignore the high
bit
(115200,
N,8,1)
55 AA 55
01 C2 00
03
46
(9600,
N,8,1)
55 AA 55
00 25 80
03
28
Serial parameter bit:
Bit #
Explanation
Value
Description
1:0
Data bit selection
00
5 bits
01
6 bits
10
7 bits
11
8bits
2
Stop Bit
00
1 bit
01
2bits
3
Parity Enable
00
Disable Parity
01
Enable Parity
5:4
Parity Type
00
ODD
01
EVEN
10
Mark
11
Clear
8:6
NC
000
0
Using methods:
1.
USR-TCP232-M4,E45 Setup software, click “Synchronous baud rate (RFC2217)”.
2.
When serial parameter changes is needed, it send RFC 2217 packet. USR-N540 receive the command from
network and revise serial parameter accordingly, do not transmit the RFC2217 command transparently.
3.7.11.
Keep-Alive
When USR-N540’s network is abnormal, it can judge the status in time and disconnect. And connect to server once
network recovers.
3.7.12.
Device ID
The function have 2 types: send ID once connection and send ID once sending data. It is used to condition that
need register packet or need packet header/tail for normal transmission.