USR-TCP232-302 User Manual
h.usriot.com
Jinan USR IOT Technology Limited
35 / 53
HTPucFlags
1
00
0
:
HTTPD GET; 1:HTTPD POST
tc_number
1
04
Client number that TCP Server can connect
uiPackLen
2
00 00
Not enabled, reserved protocol
ucPackTime
1
0A
Serial port packing time
ucTimeCount
1
91
Write the read data as it is .
ucReserved
5
00 00 00 00 00
Write 00 00 00 00 00. For extension use
Current IP
4
07 00 A8 C0
Current module IP address
Version
1
01
Version number
Serial port configuration extended function parameter: extended function 112 character, send 55 BB +
special function cha check bit. If correct , it returns BB 4B. Otherwise It returns BB 45.
Chart 3.7-9 - Serial port setting extended function parameter command
Name
Byte
Example
Instruction
Device ID
20
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
Module Cloud ID
CLOUD_password
8
00 00 00 00 00 00 00 00
Module Cloud password
H_R_ucFlags
1
00
1th is 1 :
heartbeat package to
Lan port.
2th is 1: heartbeat package to
Serial port.
3th is 1: send registration
package.
4th is 1: data carry registration
package.
5th is 1: httpd remove package
head.
6th is 1: turn on serial port setting
parameter function.
7th is 1: input heartbeat package
16 binary system.
8th is : input registration package
16 binary system.
heart_times
1
3c
heartbeat time
heart_len
1
00
heartbeat package length
register_len
1
00
registration package length
heartbeat
40
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
heartbeat package content
register_s
40
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
registration package content