USR-N540 User Manual www.usriot.com
Jinan USR IOT Technology Limited 55 / 73 [email protected]
Basic Parameter:
Name
Byte
Example
Explanation
ucSequenceNu
m
1
xx
Write the read values
ucCRC
1
xx
Write the read values
ucVersion
1
xx
Write the read values
ucFlags
1
80
IP address type:
0 in 8
th
bit: DHCP;1 in 8
th
bit: Static IP
usLocationURLP
ort
2
20 19
Write the read values
usHTTPServerPo
rt
2
50 00
HTTP server port
ucUserFlag
1
Write the read values
ulStaticIP
4
38 00 A8 C0
Static IP
ulGatewayIP
4
01 00 A8 C0
Gateway
ulSubnetMask
4
00 FF FF FF
Subnet Mask
ucModName
16
55 53 52 2D 54 43 50 32
33 32 2D 45 00 00 00 00
USR-N540 name
username
6
61 64 6D 69 6E 00
username
password
6
61 64 6D 69 6E 00
password
ucNetSendTime
1
Write the read values
uiId
2 01 00
Device ID
ucIdType
1 0
Device ID type (0~3)
0:no use
1:send id when connect
2:send id when send data
3:both
ucUserMAC
6 FF FF FF FF FF FF
MAC
ucReserved
8
Unused
Example:
FF 56 05 AC CF 23 66 66 67 61 64 6D 69 6E 00 61 64 6D 69 6E 00 61 66 03 80 20 19 50 00 02 07 00 A8 C0 01 00 A8 C0
00 FF FF FF 55 53 52 2D 54 43 50 32 33 32 2D 45 34 35 00 00 61 64 6D 69 6E 00 61 64 6D 69 6E 00 02 01 00 00 AC CF
23 66 66 67 00 48 54 54 50 2F 31 2E 1C
②
Port settings parameter command
Port parameter: