USR-TCP232-302 User Manual
h.usriot.com
Jinan USR IOT Technology Limited
34 / 53
usHTTPServerPort 2
50 00
HTTP service port
ucUserFlag
1
00
Not enabled, reserved protocol
ulStaticIP
4
07 00 A8 C0
Static IP
ulGatewayIP
4
C9 00 A8 C0
Gateway
ulSubnetMask
4
00 FF FF FF
Subnet mask
ucModName
14
55 53 52 2D 4B 32 00
00 00 00 00 00 00 00
Module name
Protocol reserved
2
00 00
Must be 0
username
6
61 64 6D 69 6E 00
User name
password
6
61 64 6D 69 6E 00
Password
ucNetSendTime
1
00
Not enabled, reserved protocol
uiId
2
01 00
Device ID
ucIdType
1
A4
bit0(1): send ID when connecting ;
bit1(2): send ID when sending data;
bit2(4): RS485;
bit4(16): Reset;
bit5(32):Link-state;
bit6(64): index function;
bit7(128):Similar RFC2217 function,
mac_addrs
6
00 00 00 00 00 00
Device Mac address
(
only support query
)
DNS Gateway IP
4
01 00 A8 C0
DNS address
(
only support query
)
ucReserved
4
arbitrary value
Unused
ulBaudRate
4
00 C2 01 00
Serial port baud rate
ucDataSize
1
08
Serial port data bite (0X05/0x06/0x07/0x08)
ucParity
1
01
Serial port check bite
1:no, 2:odd, 3:even, 4:mark, 5:space
ucStopBits
1
01
Serial port stop bite (0x01/0x02)
ucFlowControl
1
00
Not enabled, reserved protocol
ulTelnetTimeout
4
00 00 00 00
Not enabled, reserved protocol
usTelnetLocalPort
2
8C 4E
Local port
usTelnetRemotePo
rt
2
2a 20
Remote port
uiTelnetURL
30
31 39 32 2E 31 36 38
2E 30 2E 31 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
IP address or domain name send by ASCll
E.g.: 192.168.0.1
ulTelnetIPAddr
4
00 00 00 00
Not enabled,
ucFlags
1
00
Cloud function: For 5th ,
0: turn off cloud
1: turn on cloud
ucWorkMode
1
01
Work mode :
0: UDP, 1:TCP Client, 2: UDP Server,
3: TCP Server 4: HTTPD Client