USR-TCP232-302 User Manual
h.usriot.com
Jinan USR IOT Technology Limited
36 / 53
3.7.5. Reset command
Send 55 B1 5A, if correct , it returns BA 4B, then module restart. If wrong, it won’t return.
3.7.6. Similar T24 series setting protocol
Network command : Fixed format 40 byte data package, please refer to the following format and data ,
TCP232-302 will return 35 bytes data package. 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39
30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39. When setting parameter ,it send 40 bytes,
returns 35 bytes.
Chart 3.7-10 -Network command
Name
Byte
Example
Instruction
MAC
6
00 CE 83 25 4D 60
Module MAC that need to be set
Old password
6
31 31 30 34 31 35
Password for network module
,
110415
is initial password.
Target IP
4
C9 00 A8 C0
Target IP
Target Port
2
2A 20
Target Port
Module IP
4
07 00 A8 C0
Module IP
Module Port
2
8C 4E
Module Port
Gateway
4
C9 00 A8 C0
Gateway IP
Work mode
1
01
0:UDP Client, 1:TCP Client
2:UDP Server, 3:TCP Server
Baud rate
3
00 C2 01
Port baud rate
Port parameter bit
1
03
Data bit, stop bit, check bit
Independent ID
3
00 00 00
ID-H,ID-L,ID-type, if don’t need, write 0
(
ID type has addition meaning ,refer to
appendix
Ⅰ)
Subnet mask
4
00 FF FF FF
Subnet mask,Little Endian
Chart 3.7- 11- Network return parameter
Name
Byte
Example
Instruction
MAC
6
00 CE 83 25 4D 60
Module MAC that need to be set
Version
1
42
Version
Target IP
4
C9 00 A8 C0
Target IP
Target Port
2
2A 20
Target Port
Module IP
4
07 00 A8 C0
Module IP
Module Port
2
8C 4E
Module Port
Gateway
4
C9 00 A8 C0
Gateway IP