EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoERP2Converter Class Reference

Helper class for convert a ERP2_PACKET to eoTelegramERP2 and the other way around. More...

#include <eoERP2Converter.h>

Public Member Functions

 eoERP2Converter ()
 
eoReturn convertFromPacketToERP2 (const eoPacket &packet, eoTelegramERP2 &tel)
 

Static Public Attributes

static const uint8_t AdvancedRORG [16]
 

Detailed Description

Helper class for convert a ERP2_PACKET to eoTelegramERP2 and the other way around.

Constructor & Destructor Documentation

◆ eoERP2Converter()

eoERP2Converter::eoERP2Converter ( )

Constructor of the ERP2Converter

Member Function Documentation

◆ convertFromPacketToERP2()

eoReturn eoERP2Converter::convertFromPacketToERP2 ( const eoPacket packet,
eoTelegramERP2 tel 
)

This helper class converts the ERP2 radio packet to an eoTelegramERP2

Parameters
packet,aERP2 radio packet
tel,theoutput eoTelegramERP2
Returns
EO_OK,OUT_OF_RANGE