Murata Electronics North America DNT24 사용자 설명서

다운로드
페이지 83
www.Murata.com
Technical support +1.678.684.2000
Page 57 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
ForceDiscoverRegister - a write to this register, typically using a broadcasted Set Remote Register com-
mand, will force a heartbeat reply if a device's parent has the specified base-mode network ID (or 0xFF
wildcard), and the least significant byte of the device’s MAC address is within a specified min/max range.
The payload consists of 3 bytes: NWKID (NN), minimum MAC address (LL), and maximum MAC address
(XX). In Little Endian hexadecimal format this would appear as “XXLLNN”.
DiagPortEn - setting this parameter to 0x01 enables diagnostic port operation.
7.5 Protocol-formatted Message Examples
7.5.1 Data Message
In this example, the ASCII text “Hello” is sent from the base to a remote using the TxData command.
The MAC address of the remote is 0x123456. The protocol formatting for the host message is:
SOP
Length
PktType
Lo MAC
MAC
Hi MAC
“H”
“e”
“l”
“l”
“o”
0xFB
0x09
0x05
0x56
0x34
0x12
0x48
0x65
0x6C
0x6C
0x6F
There are 9 bytes following the length byte, so the length byte is set to 0x09. Note that the 0x123456
network address is entered in Little-Endian byte order, 56 34 12. When an ACK to this message is re-
ceived from the remote, the base outputs a TxDataReply message to its host:
SOP
Length
PktType
Lo MAC
MAC
Hi MAC
Status
RSSI
0xFB
0x07
0x15
0x56
0x34
0x12
0x00
0xB0
The 0x00 TxStatus byte value indicates the ACK reception from the remote. The RSSI value of the re-
ceived ACK is 0xB0, indicating a received signal strength of approximately -80 dBm .
The ASCII “Hello” message is output at the remote as a 0x26 RxData event. The address field contains
the originator’s address, 0x00 0x00 0x00, which is the base. The RSSI value of the received message is
0xB4, indicating a received signal strength of approximately -76 dBm. The data following the RSSI value
is the “Hello” text.
SOP
Length
PktType
Lo MAC
MAC
Hi MAC
RSSI
“H”
“e”
“l”
“l”
“o”
0xFB
0x0A
0x26
0x00
0x00
0x00
0x35
0x48
0x65
0x6C
0x6C
0x6F
Note that if the remote was in transparent mode, only the “Hello” text would be output.
7.5.2 Configuration Messages
In this example, the remote with MAC address 0x123456 is configured by the base (MAC address
0x000000) to generate RxEvent messages every 10 seconds. To do this, the IoReportInterval in the re-
mote is set to 10 seconds and the periodic report timer bit in the IoReportTrigger parameter is set ON.
The IoReportInterval and the IoReportTrigger parameters are loaded using SetRemoteRegister com-
mands. The command to set the IoReportInterval to 10 seconds is:
SOP
Length
PktType
Lo MAC
MAC
Hi MAC
Reg
Bank
Size
Lo Val
Val
Val
Hi Val
0xFB
0x0B
0x07
0x56
0x34
0x12
0x1C
0x06
0x04
0x10
0x27
0x00
0x00