User's Manual

Table Of Contents
Interfaces
16 DUST NETWORKSā„¢ M1030-2 MOTE DATASHEET
CONFIDENTIAL
7.4.3.6 Commands 0x89 and 0x8A Get Parameter Request/Response
The Get Parameter command allows a number of configuration parameters in the mote to be read by serial. When a Get
Parameter Request command is sent, the response to the request is sent within the diag_ack_timeout (see
Table 13). The
command structure for individual parameter types can be found in section 7.4.4. The length of payload (n) depends on the
parameter type and is specified in that section. If the error code is not equal to 0, then no data is returned in the response. Error
codes are described in
Table 29.
7.4.3.7 Command 0x8C Mote Information
The mote sends this packet on bootup, supplying information about mote properties. For details on bootup, see section 6.3.
Table 22 Command 0x89 Get Parameter Request
Msg Byte Description Data Type Value
1 Cmd type unsigned char 0x89
2 unsigned char Parameter type
3 Data First byte of data
...3+n Data Up to n–1 additional bytes of
data
Table 23 Command 0x8A Get Parameter Response
Msg Byte Description Data Type Value
1 Cmd type unsigned char 0x8A
2 unsigned char Parameter type
3 Error code unsigned char Error code (see Table 29)
4 Data length unsigned char n
5 Data First byte of data
...5+n Data Up to n–1 additional bytes of
data
Table 24 Command 0x8C – M1030-1 Information
Msg Byte Description Data Type Value
1 Cmd type unsigned char 0x8C
2-4 HW model Array of 3 unsigned char 00109
5-6 HW revision Array of 2 unsigned char HW revision
7-10 SW revision Array of 4 unsigned char SW revision
11-18 MAC address Array of 8 unsigned char MAC addr
19 Networking type unsigned char 1 = 900 MHz network
20-21 Network ID unsigned short Network ID
22-29 Datasheet ID Array of 8 unsigned char 000_0001
30-31 Mote ID unsigned short Mote ID
32 Reserved
33 Mote diagnostics status unsigned char Mote diagnostics status (see
Table 35)