www.RFM.com
Technical s1.678.684.2000
Page 34 of 82
©2009 by RF Monolithics, Inc.
E-mail:
DNT2400 - 08/18/09
4.1.5 Protocol Mode Data Message Example
In this example, ASCII text Hello World is sent from the base to a remote using a TxData command. The
MAC address of the remote is 0x000102. 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 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 of the re-
ceived ACK is 0xC4 (-60 dBm).
If the remote is in protocol mode, the message is output in the following format:
0xFB
0x10
0x26 0x00 0x00 0x00 0xC4 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64
The message is output as an 0x26 event. The address field contains the base (originator) address. Note
that the RSSI value 0xC4 is inserted between the base MAC address and the Hello World user data.
4.2 Configuration Registers
The configuration registers supported by the DNT2400 are described below. Registers are sorted into
banks according to similar functions. Default register values are in bold. All changes to parameters are
temporary and will not persist through power cycling until 0x01 has been written to the MermorySave
parameter in Bank FF. Writing 0x00 to the MemorySave parameter will reload the factory default values
which also require writing 0x01 to the MemorySave location. Also note that some parameter changes do
not take effect until they are saved and the module is reset or power cycled. Modules can be reset by
writing 0x00 to the UcReset parameter in Bank FF.
4.2.1 Bank 0 - Transceiver Setup
Size in
Bank Loc'n Name
R/W bytes Range Default,
Options
00
00
DeviceMode
R/W
1 0..2
0 = Remote, 1= Base, 2 = PTT Remote
00
01
RF_DataRate
R/W 1
0..4
0 = 500, 1 = 200, 2 = 115.2, 3 = 38.4 kb/s,
0XFF = auto
00
02
HopDuration
R/W
2 4..4000
10 ms (0x00C8)
00
04
InitialNwkID
R/W 1
0..255
0xFF = join any network
00
05
SecurityKey
R/W 16
0..2
128
all null bytes (0x00) = security disabled
00
15
SleepMode
R/W
1 0..1
0 = off, 1 = timer, 2 = interrupt
00
16
WakeResponseTime
R/W
1 0..255 1 = 50 ms, 0 to disable
00
17
WakeLinkTimeout
R/W 1
0..255
5 s
00
18
TxPower
R/W
1 0..2
0 = 1 mW; 1 = 10 mW, 2 = 63 mW
00
19
ExtSyncEnable R/W
1
0..1
0 = off; 1 = enable
00
1A
DiversityMode
R/W
1
0..2
0 = 0 V, 1 = 3.3 V, 2 = toggle
00
1B
Reserved
1
00
1C
UserTag
R/W 16
“DNT2400"
00
2C
RegDenialDelay
R/W
2
10 s
00
2E
RmtTransDestAddr
R/W
3
0x000000 (Base)
Note: These settings are individual to each module.