Murata Electronics North America DNT24 사용자 설명서

다운로드
페이지 83
www.Murata.com
Technical support +1.678.684.2000
Page 58 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
The IoReportInterval parameter starts in location 0x1C of Bank 6. The report interval scaling is
1 ms/count, so a 10 second report interval is 10,000 units or 0x00002710 (Little-Endian format 10 27 00
00). The IoReportInterval parameter is updated and SetRemoteRegisterReply is returned:
SOP
Length
PktType
Status
Lo MAC
MAC
Hi MAC
RSSI
0xFB
0x06
0x17
0x00
0x00
0x00
0x00
0xB2
The command to set the periodic report timer bit in IoReportTrigger is:
SOP
Length
PktType
Lo Mac
MAC
Hi MAC
Reg
Bank
Size
Val
0xFB
0x08
0x07
0x56
0x34
0x12
0x1B
0x06
0x01
0x10
The IoReportTrigger parameter is in location 0x1B of Bank 6. The periodic report timer bit in IoReport-
Trigger 
is located in bit position four (00010000b) or 0x10. The IoReportTrigger parameter is updated and
SetRemoteRegisterReply is returned:
SOP
Length
PktType
Status
Lo MAC
MAC
Hi MAC
RSSI
0xFB
0x06
0x17
0x00
0x00
0x00
0x00
0xB4
7.5.3 Sensor Message
In this example, the base host requests an ADC1 reading from a remote using the GetRemoteRegister
command, type 0x06. The MAC address of the remote is 0x123456. The current ADC1 measurement
parameter is read starting at register location 0x15 and Bank 5. The ADC reading spans two bytes. The
protocol formatting for this command is:
SOP
Length
PktType
Lo Mac
MAC
Hi MAC
Reg
Bank
Size
0xFB
0x07
0x06
0x56
0x34
0x12
0x15
0x05
0x02
Note the remote MAC address is entered in Little-Endian byte order, 56 34 12.
The ADC reading is returned in a GetRemoteRegisterReply message:
SOP
Length
PktType
Status
Lo MAC
MAC
Hi MAC
RSSI
Reg
Bank
Size
Lo Val
Hi Val
0xFB
0x0B
0x16
0x00
0x00
0x00
0x00
0xB7
0x1C
0x06
0x02
0x7B
0x08
Substantial information is returned in the message. The last two byes of the message give the ADC read-
ing in Little-Endian format, 7B 08. The ADC reading is thus 0x087B (2171). The RSSI value is the byte
following the address, 0xB7 (-73 dBm). The TxStatus byte to the right of the GetRemoteRegisterReply
Packet Type is 0x00, showing the packet was acknowledged on the RF channel.