Dust Networks Inc. M1030 사용자 설명서

다운로드
페이지 28
Interfaces
20
D
UST
 N
ETWORKS
M1030-2 M
OTE
 D
ATASHEET
C
ONFIDENTIAL
The following packet is sent in response to a request to retrieve the frame length.
7.4.4.5
Parameter Type 0x04 Join Key
The join key is needed to allow a mote on the network. The join key is specific for the network and used for data encryption. 
This parameter is only valid for a Set Parameter command. Upon receiving this request, the mote stores the new join key in its 
persistent storage. The mote must be reset in order to begin using the new join key.
The following packet is sent in response to a request to set the join key.
7.4.4.6
Parameter Type 0x05 Time/State
This parameter is only valid for the Get Parameter command and is used to request the network time and mote state 
information. The response to this command returns the same information as Command 0x84 (Time/State Packet), with the 
only difference being that this command can be solicited using a software Get command, rather than a hardware pin.
The following packet is sent in response to a request for the network time and mote state information.
Table 37  Parameter Type 0x03 Frame Length Get Response
Msg Byte
Description
Data Type
Value
1
Cmd type
unsigned char
0x8A
2
Parameter type
unsigned char
0x03
3
Error code
unsigned char
Error code (see Table 29)
4
Data length
unsigned char
0x05
5
unsigned char
Frame ID
6-9
Frame length
unsigned long
Frame length (
μs)
Table 38  Parameter Type 0x04 Join Key Set Request
Msg Byte
Description
Data Type
Value
1
Cmd type
unsigned char
0x87
2
Parameter type
unsigned char
0x04
3-18
New join key
Array of 16 unsigned char
New join key 
Table 39  Parameter Type 0x04 Join Key Set Response
Msg Byte
Description
Data Type
Value
1
Cmd type
unsigned char
0x88
2
Parameter type
unsigned char
0x04
3
Error code
unsigned char
Error code (see Table 29)
4
Data length
unsigned char
 0x00
Table 40  Parameter Type 0x05 Time/State Get Request
Msg Byte
Description
Data Type
Value
1
Cmd type
unsigned char
0x89
2
Parameter type
unsigned char
0x05
Table 41  Parameter Type 0x05 Time/State Get Response
Msg Byte
Description
Data Type
Value
1
Cmd type
unsigned char
0x8A
2
Parameter type
unsigned char
0x05
3
Error code 
unsigned char
Error code (see Table 29)
4
Data length
unsigned char
0x18