User's Manual

Table Of Contents
Interfaces
16 DUST NETWORKSā„¢ M1310-1 MOTE DATASHEET
CONFIDENTIAL
7.3.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 12). The
command structure for individual parameter types can be found in section 7.3.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 28.
7.3.3.7 Command 0x8C Mote Information
The mote sends this packet on bootup, supplying information about mote properties. For details on bootup, see 6.3.
Table 21 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 22 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 28)
4 Data length unsigned char n
5 Data First byte of data
...5+n Data Up to n–1 additional bytes of
data
Table 23 Command 0x8C – M1310-1 Information
Msg Byte Description Data Type Value
1 Cmd Type unsigned char 0x8C
2-4 HW model Array of 3 unsigned char HW model
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 TBD
20-21 Network ID unsigned short Network ID
22-29 Datasheet ID Array of 8 unsigned char Datasheet ID
30-31 Mote ID unsigned short Mote ID
32 Reserved
33 Mote diagnostics status (see
Table 34)
unsigned char Mote diagnostics status
ADVANCED INFORMATION