EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
Serial Event base class. Use the parse Packet function to generate the right packet type. More...
#include <eoSerialEvents.h>
Public Member Functions | |
SA_EVENT_TYPE | getEventType () const |
Returns the event type. Can be used safely to cast the packet. More... | |
Static Public Member Functions | |
static eoSerialEvent * | parsePacket (eoPacket &packet) |
Parses packet, checks if it is a serial event. More... | |
Protected Member Functions | |
eoPacket * | preparePacket (uint8_t u8Length) const |
Protected Attributes | |
SA_EVENT_TYPE | event |
Serial Event base class. Use the parse Packet function to generate the right packet type.
|
inline |
Returns the event type. Can be used safely to cast the packet.
|
static |
Parses packet, checks if it is a serial event.
packet | Packet to parse |