Murata Electronics North America DNT24 Manual Do Utilizador

Página de 83
www.Murata.com
Technical support +1.678.684.2000
Page 59 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
7.5.4 Event Message
The configuration example shown in Section 7.5.2 above causes the remote with MAC address 0x123456
to start sending event messages every 10 seconds as shown in the log below:
FB 12 28 56 34 12 B8 00 7A 01 36 01 FF 01 10 00 20 01 40 01
FB 12 28 56 34 12 B0 00 79 01 35 01 C0 01 10 00 20 01 40 01
FB 12 28 56 34 12 A9 00 72 01 35 01 D3 01 10 00 20 01 40 01
FB 12 28 56 34 12 AC 00 75 01 36 01 E7 01 10 00 20 01 40 01
The first received message in the above log is constructed as follows:
SOP
Length
PktType
Addr
Addr
Addr
RSSI
Data
0xFB
0x12
0x28
0x56
0x34
0x12
B8
GPIO
ADC0
ADC1
ADC2
Event Flags
DAC0
DAC1
0x00
0x7A
0x01
0x36
0x01
FF
0x01
0x10
0x00
0x20 0x01 0x40
0x01
RxEvent messages are PktType 0x28. The message payload consists of the states of GPIO0 through
GPIO5, the input voltages measured by ADC0 through ADC2, the event trigger(s), and the DAC output
settings. Note the ADC readings, event flags and DAC settings are presented in Little-Endian order. The
remote is assumed to be always ON in this example. If the remote is placed in periodic sleep mode
(SleepMode = 1), a suitable value of the WakeResponseTime parameter should be set to allow the base
application to analyze the I/O report and send back a command to the remote as needed.