Murata Electronics North America DNT900 Manual Do Utilizador

Página de 60
 
www.RFM.com
 
Technical support +1.800.704.6079 
Page 29 of 58 
©2008 by RF Monolithics, Inc. 
E-mail: tech sup@rfm.com
 
DNT900 - 11/05/08 
4.1.6 Protocol Mode Data Message Example 
In this example, ASCII text Hello World is sent from the base station to a remote using a TxData com-
mand. The MAC address of the remote is 0x0001 02. The protocol formatting for the host message is: 
0xFB 0x0F 0x05 0x02 0x01 0x00 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64 
There are 15 bytes following the length byte, so the length byte is set to 0x0F. Note that the 0x000102 
MAC address is entered in Little-Endian byte order 0x02 0x01 0x00. 
When an ACK to this message is received from the remote, the base station outputs a TxDataReply 
message to its host: 
0xFB 0x06 0x15 0x00 0x02 0x01 0x00 0xC4 
The 0x00 TxStatus byte value indicates the ACK reception from the remote. The RSSI value is 
0xC4 (-60 dBm). 
If the remote is in protocol mode, the message is output in the following format: 
0xFB 0x1 0 0x26 0x02 0x01 0x00 0xC4 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64 
The message is output as an 0x26 event. Note that the RSSI value 0xC4 is inserted between the re-
mote’s MAC address and the Hello World user data. 
4.2 Configuration Registers 
The configuration registers supported by the DNT900 are described below. Registers are sorted into 
banks according to similar functions. Default register values are in bold
4.2.1 Bank 0 - Transceiver Setup 
 
00 
00 
DeviceMode 
R/W 
0..2 
0 = Remote, 1= Base, 2 = PTT Remote 
00 
01 
RF_DataRate 
R/W 
0..4 
0 = 500, 1 = 200, 2 = 115.2, 3 = 38.4 kb/s, 
0XFF = auto 
00 
02 
HopDuration 
R/W 
4..4000  10 ms (0x00C8) 
00 
04 
InitialNwkID 
R/W 
0..255 
0xFF = broadcast 
00 
05 
SecurityKey 
R/W 
16  0..2
128
 
0 = security disabled 
00 
15 
SleepMode 
R/W 
0..1 
0 = off, 1 = timer, 2 = interrupt 
00 
16 
WakeResponseTime 
R/W 
0..255 
1 = 50 ms, 0 to disable 
00 
17 
WakeLinkTimeout 
R/W 
0..255 
5 s 
00 
18 
TxPower 
R/W 
0..5 
0 = 1 mW; 1 = 10 mW, 2 = 100 mW 
 
 
 
 
 
 
3 = 250 mW, 4 = 500 mW, 5 = 1000 mW 
00 
19 
Reserved 
 
 
 
 
00 
1A 
Reserved 
 
 
 
 
00 
1B 
JoinPermit 
R/W 
0..1 
0 = no join, 1 = remotes (default), 2 =any 
00 
1C 
UserTag 
R/W 
16 
 
"DNT900
 
Note: These settings are individual to each module. 
DeviceMode
 - selects the operating mode for the radio: remote, base, or PTT remote (listen mostly 
remote). Note that the setting takes effect immediately. 
Size in 
Ba n k L o c' n  Na m e  
R/W bytes Range Default, Options