Murata Electronics North America XDM2140 Manual Do Utilizador

Página de 37
 
XDM2140 Command Summary 
 
Command Type (HEX) 
Direction 
Destination 
Description 
0x80 
Microcontroller to XDM2140 
Network 
Packet destined for the network 
0x81 
XDM2140 to microcontroller 
Network 
Unacknowledged packet received from the 
network and destined for microcontroller 
0x82 
XDM2140 to microcontroller 
Network 
Acknowledged packet received from the network 
and destined for microcontroller 
0x83 
— 
— 
Reserved 
0x84 
XDM2140 to microcontroller 
Local 
Time and XDM2140 state information 
0x85 
— 
— 
Reserved 
0x86 
— 
— 
Reserved 
0x87 
Microcontroller to XDM2140 
Local 
Set Parameter request 
0x88 
XDM2140 to microcontroller 
Local 
Set Parameter response 
0x89 
Microcontroller to XDM2140 
Local 
Get Parameter request 
0x8A 
XDM2140 to microcontroller 
Local 
Get Parameter response 
0x8C 
XDM2140 to microcontroller 
Local 
XDM2140 information 
0x8D 
Microcontroller to XDM2140 
Local 
Reset XDM2140 
0x09 
Microcontroller to XDM2140 
Local 
Deep sleep 
0x0B 
Microcontroller to XDM2140 
Local 
Test radio transmission 
0x0C 
Microcontroller to XDM2140 
Local 
Test radio reception 
0x02 
Microcontroller to XDM2140 
Local 
Get radio reception test statistics 
 
Table 18
 
 
9.2.1 Command 0x80 - Serial Payload Sent to Serial Port 
 
Serial Data Packets going into the XDM2140 serial port use the command type 0x80. Upon receiving the 
packet, the XDM2140 forwards it to the network. The format of the serial packet payload is transparent to 
the XDM2140. There is no response by the XDM2140 upon reception of this command. 
 
Command 0x80 Format Details 
 
Message Byte 
Description 
Data Type 
Request (Sent to XDM2140) 
Command type 
unsigned char 
0x80 
 
(Transparent to XDM2140) 
First byte of data  
...2+n 
 
(Transparent to XDM2140) 
Up to n–1 additional bytes of data 
 
Table 19 
 
9.2.2  Command 0x81 - Unacknowledged Serial Payload Received from Serial Port 
 
Unacknowledged serial data packets going out of the XDM2140 serial port use command type 0x81. The 
network uses this command to send data out through the XDM2140 serial interface. Upon receiving this 
packet from the network, the XDM2140 forwards it to the microcontroller without sending 
acknowledgement to the Gateway. The format of the serial packet payload is transparent to the 
XDM2140. The maximum length of the message payload is defined in Section 9.2.