EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
Message Class for communication. More...
#include <eoMessage.h>
Public Member Functions | |
virtual eoReturn | copyTo (eoMessage &msg) const |
virtual void | Clear () |
eoMessage (uint16_t size=1) | |
eoMessage (const eoTelegram &tel) | |
Public Attributes | |
uint8_t | RORG |
RORG as specified by EnOcean. | |
uint8_t | status |
status Information from device | |
uint8_t | securityLevel |
Security level of the message. | |
uint32_t | sourceID |
SourceID. More... | |
uint32_t | destinationID |
the destination ID | |
Additional Inherited Members |
Message Class for communication.
this class describes a Message, a message is the virtual piece of information, which is exchanged between eoLink and the Gateway.
It contains the payload data, the Source ID and the RORG information.
eoMessage::eoMessage | ( | uint16_t | size = 1 | ) |
Creates a new Message and reserves size bytes for the data in the ram
size | bytes ti reserve in the ram |
eoMessage::eoMessage | ( | const eoTelegram & | tel | ) |
Creates a new Message from a telegram
tel | eoTelegram used by the eoMessage. |
|
virtual |
Copies the content of this eoMessage to another eoMessage.
Reimplemented in eoTelegramERP2, and eoTelegram.
uint32_t eoMessage::sourceID |
SourceID.
When sending data= ID to use
When it is a received Message, id from the transmitter.