
USR-K6 User Manual www.usriot.com
Jinan USR IOT Technology Limited 65 / 107 [email protected]
④
Read setting command
Send (22bits): FF 13 03 D8 B0 4C 46 35 CA 61 64 6D 69 6E 00 61 64 6D 69 6E 00 41, parity sum: 41 = 13 + 03 + ... +
6E + 00, from 4th to 9th is the address of the MAC, the last 12 bits in front add the parity is the user name and
password. These are 6 bits, add 0 if less than 6 bits.
⑤
Basic parameter setting command
Basic setting command including 67 basic parameters. Setting For better Settings, here are some examples:
sending: FF 56 05 D8 B0 4C 46 35 CA 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 01
00 A8 C0 00 FF FF FF 55 53 52 2D 4B 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
E0 D8 B0 4C 46 35 CA 00 00 00 00 03 00 00 00 59, parity bits is still parity sum algorithm: 59 = 56 + 05 + D8+ ... + 03:
from 4th to 9th is the address of the MAC, from 10th to the 22th is the us password, the latter bits is fixed
length basic setting parameters. The last bit is the parity sum.
Name
bits
E.g.
Instr
Uc Sequence Num
1
00
reserve package head
Uc CRC
1
00
reserve package head
Uc Version
1
00
reserve package head
Uc Flags
1
C0
8
th
is 0: DHCP: 1: static IP
6
th
is 0: long connection: 1: short connection
5
th
is 0: not clear cache: 1: clear cache
Us Location URL Port
2
00 00
Not enable,reserve the protocol
Us HTTP Server Port
2
50 00
HTTP server port
Uc User Flag
1
00
Not enable,reserve the protocol
Ul Static IP
4
07 00 A8 C0
Static IP
Ul Gateway IP
4
C9 00 A8 C0
Gateway
Ul Subnet Mask
4
00 FF FF FF
Subnet Mask