Class to communicate with ELV(R) MAX! wireless devices with RFM22B-Modules. Based on Library RF22. Initial version unable to send! Only receive! See http://mbed.org/users/charly/notebook/reading-a-max-wireless-window-sensor-with-rfm22-an/
Dependents: RF22_MAX_test_Send
RF22Max::max_message Struct Reference
a message from a max!-Device More...
#include <RF22Max.h>
Data Fields | |
uint8_t | len |
Message-length. | |
uint8_t | cnt |
Message-counter. | |
uint8_t | flags |
unknown | |
uint8_t | type |
Message-type. | |
char | type_str [50] |
Message-Type in text. | |
uint32_t | frm_adr |
Unique address of device From. | |
uint32_t | to_adr |
Unique address of device To. | |
uint8_t | groupid |
Groupid. | |
uint8_t | payload [50] |
Data. | |
uint16_t | crc |
CRC for the message. | |
char | state [50] |
State of the device: open, closed, auto, eco,... | |
char | battery_state [50] |
Battery-state of the device : good, low. |
Detailed Description
a message from a max!-Device
structure for a MAX!-Message includes decoded fields and the payload also has some specific field, which are only valid on some message-types Message-types:
0x00: "PairPing"
0x01: "PairPong";
0x02: "Ack";
0x03: "TimeInformation";
0x10: "ConfigWeekProfile";
0x11: "ConfigTemperatures";
0x12: "ConfigValve";
0x20: "AddLinkPartner";
0x21: "RemoveLinkPartner";
0x22: "SetGroupId";
0x23: "RemoveGroupId";
0x30: "ShutterContactState";
0x40: "SetTemperature";
0x42: "WallThermostatState";
0x43: "SetComfortTemperature";
0x44: "SetEcoTemperature";
0x50: "PushButtonState";
0x60: "ThermostatState";
0x82: "SetDisplayActualTemperature";
0xF1: "WakeUp";
0xF0: "Reset";
Definition at line 86 of file RF22Max.h.
Field Documentation
char battery_state[50] |
char state[50] |
Generated on Mon Jul 18 2022 04:16:30 by 1.7.2