Murata Electronics North America DNT900 Manual Do Utilizador

Página de 60
 
www.RFM.com
 
Technical support +1.800.704.6079 
Page 27 of 58 
©2008 by RF Monolithics, Inc. 
E-mail: tech sup@rfm.com
 
DNT900 - 11/05/08 
multi-byte arguments, where the lowest order byte is the left byte of the argument and the highest order 
byte in the right-most byte of the argument. 
4.1.2 Message Format Details 
Com- 
mand 
Reply 
Event 
Description 
Direction 
Arguments 
0x00 
EnterProtocolMode 
from Host 
DNT900 (ASCII characters) 
0x10 
EnterProtocolModeReply 
from Radio 
none 
0x01 
ExitProtocol Mode 
from Host 
none 
0x1 1 
ExitProtocolModeReply 
from Radio 
none 
0x02 
SoftwareReset 
from Host 
BootSelect 
0x1 2 
SoftwareResetReply 
from Radio 
none 
0x03 
GetRegister 
from Host 
Reg, Bank, Span 
0x1 3 
GetRegisterReply 
from Radio 
Reg, Bank, Span,Val 
0x04 
SetRegister 
from Host 
Reg, Bank, Span, Val 
0x14 
SetRegisterReply 
from Radio 
none 
0x05 
TxData 
from Host 
Addr, Data 
0x1 5 
TxDataReply 
from Radio 
TxStatus, Addr, RSSI 
0x26 
RxData 
from Radio 
Addr, RSSI, Data 
0x27 
Announce 
from Radio 
AnnStatus, additional fields 
0x28 
RxEvent 
from Radio 
Addr, RSSI, Reg, Bank, Span,Val 
0x0A 
GetRemoteRegister 
from Host 
Addr, Reg, Bank, Span 
0x1A 
GetRemoteRegisterReply 
from Radio 
If  command  successful: 
TxStatus,  Addr,  RSSI, 
Reg, Bank, Span, Val 
If command failed: 
TxStatus, Addr 
0x0B 
SetRemoteRegister 
from Host 
Addr, Reg, Bank, Span, Val 
0x1 B 
SetRemoteRegisterReply 
from Radio 
TxStatus, Addr, RSSI 
0x2F 
Instrumentation 
from Radio 
DiagInfo 
 
Table 4.1.2.1 
Arguments:  
Reg = Register location (1 byte) 
Bank = Register bank, which provides logical isolation from other data regions (1 byte) 
Span = Number of bytes of register data to get or set; must align to a parameter boundary (1 byte) 
Val = Value to read/write to/from register (see table 4.1.2.1 for size and acceptable range. 
Data = User data (variable size, 0 to 232 bytes) 
MacAddr = MAC address of the sender for reply, or event or recipient for a command (3 bytes) 
Addr = same as MAC address 
NwkAddr = Network address (1 byte) 
TxStatus = Result of last TxData operation (1 byte) 
0 = Acknowledgement received 
1 = No acknowledgement received 
2 = Not linked (remote) 
3 = No ACK due to recipient holding for flow control