Murata Electronics North America XDM2140 Manual Do Utilizador

Página de 37
 
9.3.1  Error Codes 
 
Error Codes are listed in Table 38 below. 
 
Error Code Details 
 
Number 
Error 
Description 
DIAG_NO_ERR 
No command-specific errors 
DIAG_EXE_ERR 
XDM2140 unable to execute command 
DIAG_PARAM_ERR 
Illegal parameter in the request 
 
Table 33 
 
9.3.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 XDM2140 must have the same network ID as the network Gateway. This 
parameter is only valid for the Set Parameter command. Upon receiving this request, the XDM2140 
stores the new network ID in its persistent storage area, but continues to use the existing network ID. 
The XDM2140 must be reset in order to begin using the new network ID. 
 
Parameter Type 0x01 Set Request Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x87 
Parameter type 
unsigned char 
0x01 
3-4 
Network ID 
unsigned char 
Network ID 
 
Table 34 
 
The following packet is sent in response to a request to set the network ID. 
 
Parameter Type 0x01 Set Response Details
 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x88 
Parameter type 
unsigned char 
0x01 
Error code 
unsigned char 
Error code  
Data length 
unsigned char 
0x00 
 
Table 35 
 
9.3.3  Parameter Type 0x02 - XDM2140 State 
 
This parameter is only valid for the Get Parameter command and is used to retrieve the XDM2140’s 
current network connection state.