User's Manual

Table Of Contents
Interfaces
18 DUST NETWORKS M2135-1/M2030-1 MOTE DATASHEET
CONFIDENTIAL
7.3.4.1 Error Codes
7.3.4.2 Parameter Type 0x01 Network ID
The network ID is the identification number used to distinguish different wireless networks. In order to join a specific network,
the mote must have the same network ID as the network Manager. This parameter is only valid for the Set Parameter
command. Upon receiving this request, the mote stores the new network ID in its persistent storage area, but continues to use
the existing network ID. The mote must be reset in order to begin using the new network ID.
The following packet is sent in response to a request to set the network ID.
7.3.4.3 Parameter Type 0x02 Mote State
This parameter is only valid for the Get Parameter command and is used to retrieve the mote’s current network connection
state (see
Table 35).
The following packet is sent in response to a request to retrieve the mote’s current network connection state.
Table 30 Error Codes
Number Error Description
0 DIAG_NO_ERR No Command-Specific Errors
1 DIAG_EXE_ERR Mote unable to execute command
2 DIAG_PARAM_ERR Illegal parameter in the request
Table 31 Parameter Type 0x01 Network ID Set Request
Msg Byte Description Data Type Value
1 Cmd Type UChar 0x87
2 Parameter Type UChar 0x01
3-4 Network ID UShort Network ID
Table 32 Parameter Type 0x01 Network ID Set Response
Msg Byte Description Data Type Value
1 Cmd Type UChar 0x88
2 Parameter Type UChar 0x01
3 UChar Error code
4 UChar Data Length (0x00)
Table 33 Parameter Type 0x02 Mote State Get Request
Msg Byte Description Data Type Value
1 Cmd Type UChar 0x89
2 Parameter Type UChar 0x02
Table 34 Parameter Type 0x02 Mote State Get Response
Msg Byte Description Data Type Value
1 Cmd Type UChar 0x8A
2 Parameter Type UChar 0x02
3 UChar Error code
4 UChar Data Length (0x01)
5 UChar Mote State
6 Mote diagnostics status (see
Table 36)
UChar Mote diagnostics status
PRELMINARY