![Murata DNT24 Series Скачать руководство пользователя страница 58](http://html1.mh-extra.com/html/murata/dnt24-series/dnt24-series_integration-manual_1857327058.webp)
ForceDiscoverRegister
- a write to this register, typically using a broadcasted
Set Remote Register
command, 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 received from the remote, the base out-
puts 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 received 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 sig-
nal 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 remote 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
commands. 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
©2009-2014 by Murata Electronics N.A., Inc.
DNT24 Integration Guide R2.0 - 10/27/14
www.murata.com
Содержание DNT24 Series
Страница 79: ...Figure 10 3 2 2009 2014 by Murata Electronics N A Inc DNT24 Integration Guide R2 0 10 27 14 www murata com...
Страница 80: ...Figure 10 3 3 2009 2014 by Murata Electronics N A Inc DNT24 Integration Guide R2 0 10 27 14 www murata com...
Страница 82: ...2009 2014 by Murata Electronics N A Inc DNT24 Integration Guide R2 0 10 27 14 www murata com...
Страница 83: ...2009 2014 by Murata Electronics N A Inc DNT24 Integration Guide R2 0 10 27 14 www murata com...