Dust Networks Inc. M1030 Manual De Usuario

Descargar
Página de 28
 Interfaces
M1030-2 M
OTE
 D
ATASHEET
D
UST
 N
ETWORKS
23
C
ONFIDENTIAL
Step 2
Remove byte stuffing.
To remove byte stuffing, check for instances of “7D 5D” or “7D 5E” and replace as follows:
7D 5D
=> 7D
7D 5E
=> 7E
Step 3
Confirm FCS.
Calculate the checksum for the HDLC payload.
Confirm that the FCS matches the FCS sent with the packet. Because the packet encodes FCS least significant byte 
first, in this example the calculated FCS should match “E8 40”.
Step 4
(Application layer) parse HDLC payload content.
The resulting packet payload is as follows.
As described in section 7.4.3.6, an 0x8A command with parameter type 0x07 has the following message content 
structure.
Therefore, this is a mote information response with no errors (and a payload length of 32 bytes). The mote 
information is as follows (actual values will vary, see section 7.4.4.7).  
HDLC Packet Payload
FCS
8A 07 00 20 00 00 5B 00 01 01 06 00 3C 00 00 00 00 00 00 
7E C3 01 00 08 30 30 30 5F 45 56 30 31 00 13 00 00
40 E8
HDLC Packet Payload
8A 07 00 20 00 00 5B 00 01 01 06 00 3C 00 00 00 00 00 00 
7E C3 01 00 08 30 30 30 5F 45 56 30 31 00 13 00 00
HDLC Packet Payload
8A 07 00 20 00 00 5B 00 01 01 06 00 3C 00 00 00 00 00 00 
7E C3 01 00 08 30 30 30 5F 45 56 30 31 00 13 00 00
Command Type
Message Content
8A
07 00 20 00 00 5B 00 01 01 06 00 3C 00 00 00 00 00 00 7E C3 01 00 08 
30 30 30 5F 45 56 30 31 00 13 00 00
HW Model = 
00091
(00 00 5B)
HW Rev= 
001
(00 01)
SW Rev= 
1.6.60
(01 06 00 3C)
MAC Address= 
00 00 00 00 00 00 7E 3C
Mote Type= 
01 = 900 MHz
(01)
Network ID= 
8
(00 08)
Datasheet ID= 
000_EV01
(30 30 30 5F 45 56 30 31)
Mote ID= 
19
(00 13)
Mote Diagnostics 
Status= 
0
(00)
Param
Error 
Code
Length
HW 
Model
HW 
Rev
SW Rev
MAC
Mote 
Type
Net 
ID
Datasheet ID
Mote 
ID
Rsvd
Status
07
00
20
00 00 5B
00 01
01 06 00 3C
00 00 00 00 00 00 7E C3
01
00 08
30 30 30 5F 45 56 30 31
00 13
00
00