Murata Electronics North America XDM2140 Manual Do Utilizador

Página de 37
 
Response 0x09 Format Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x09 
Payload length 
unsigned char 
0x00 
Flags 
unsigned char 
0x01 (response packet) 
Response code 
unsigned char 
0x00 (OK) 
 
Table 29 
 
 
9.3  Get/Set Command Parameters 
 
This section specifies the parameters that may be used with the Get and Set Commands. Table 35 
provides an overview of these parameters. 
 
Get/Set Command Parameters 
 
Parameter Type 
Set Parameter 
Get Parameter 
Description 
0x01 
 
Set the XDM2140’s network ID 
0x02 
 
Get the XDM2140’s current network connection state 
0x03 
 
Get the network frame length 
0x04 
 
Set the network join key on the XDM2140 
0x05 
 
Get the network time and XDM2140 state information 
0x06 
 
 
Reserved 
0x07 
 
Get the XDM2140’s properties 
0x08 
Set/get the power amplifier mode 
0x09 
 
 
Reserved 
0x0A 
 
Get the XDM2140’s charge consumption 
0x0B 
Set/get the XDM2140 power source value 
0x0C 
Put XDM2140 into RF testing mode 
 
Table 30 
 
All requests have the following structure. 
 
Request Structure for Parameter Data Packets 
 
Command Type 
Parameter Type 
Data (Optional) 
1 byte 
1 byte 
Up to 33 bytes 
 
Table 31 
 
All replies have the following structure. 
Reply Structure for Parameter Data Packets 
 
Command Type 
Parameter Type 
Error Code 
Data Length 
Data (Optional) 
1 byte 
1 byte 
1 byte 
1 byte 
Up to 31 bytes 
 
Table 32 
 
Command Types, Parameter types, and error codes are discussed in the following sections. Data length 
is the number of bytes of following data, set to 0 in case of non-zero error code.