USR-TCP232-302 User Manual
h.usriot.com
Jinan USR IOT Technology Limited
26 / 53
[password]
Read
configuration
FF
xx
03
[MAC]
[usrname]
[password]
-
xx
Basic setting
FF
xx
05
[MAC]
[usrname]
[password]
Basic
parameter
xx
Port 0 setting
FF
xx
06
[MAC]
[usrname]
[password]
Port
parameter
xx
Factory
Default
FF
xx
0b
[MAC]
[usrname]
[password]
-
xx
Cloud setting
FF
xx
0c
[MAC]
[usrname]
[password]
Port
parameter
xx
Heartbeat
package
Setting
FF
xx
21
[MAC]
[usrname]
[password]
Port
parameter
xx
Extension
setting
-
-
-
-
-
-
-
To confirm command accuracy ,we set algorithm of sending data and check method: sum check .
From length byte (include length) to check bit (not include check ) ,the sum is check value, only keep
lower byte.
Search command
: Fixed command FF 01 01 02, sum check 02=01+01
Restart command
: send (22 byte) FF 13 02 00 71 77 7C 42 2F 61 64 6D 69 6E 00 61 64 6D 69 6E 00
FC,
sum check: FC=13+02......6E+00,
From 4th to 9th is TCP232-302 MAC address. The last 12 byte before check bit is user name and
password, both is 6 byte, if not, write 0 (the last byte of user name and password should be 0 , the
following name and password is the same rule)
Read Configuration command
:send (22 byte) FF 13 03 00 71 77 7C 42 2F 61 64 6D 69 6E 00 61 64 6D
69 6E 00 FD,
FD= 13 + 03 + 00 + ... + 6E + 00
From 4th to 9th is TCP232-302 MAC address. The last 12 byte before check bit is user name and
password, both is 6 byte, if not, write 0.
Basic setting command:
it includes 67 basic parameter.
E.g : send FF 56 05 00 71 77 7c 42 2F 61 64 6d 69 6e 00 61 64 6d 69 6e 00 95 63 03 00 00 00 50 00
00 07 00 a8 c0 c9 00 a8 c0 00 FF FF FF 55 6c 6c 2d 66 32 00 00 00 00 00 00 00 00 00 00 61 64 6d 69 6e
00 61 64 6d 69 6e 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04, check byte uses sum
check method 04 = 56 + 05 + 00+ ... + 01;
From 4th to 9th is TCP232-302 MAC address,10th to 22th is user name and password .The following
byte is basic setting parameter,the last byte is sum check byte.
Chart 3.7 -2 - basic setting command
Name
Byte
Example
Instruction
ucSequenceNum
1
00
Reserve package head