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

#include <eoSecTeachInChainer.h>

Public Member Functions

void CleanUpList ()
 
eoReturn ParseChainedMessage (eoTelegram &tel, eoMessage &msg)
 
eoReturn SendChainedMessage (const eoMessage &msg, eoGateway &gateway)
 

Protected Attributes

id_msg_map list
 List of messages to be merged.
 

Detailed Description

Chaining of Security Teach in telegrams.

Member Function Documentation

◆ CleanUpList()

void eoSecTeachInChainer::CleanUpList ( )

Cleans up the list of eoChainedMessage Objects by dropping the ones that are timed out

Returns

◆ ParseChainedMessage()

eoReturn eoSecTeachInChainer::ParseChainedMessage ( eoTelegram tel,
eoMessage msg 
)

Parses a chained SecureTeachIn message from several telegrams to an eoMessage

Parameters
telincoming telegram
msgresulting eoMessage
Returns

◆ SendChainedMessage()

eoReturn eoSecTeachInChainer::SendChainedMessage ( const eoMessage msg,
eoGateway gateway 
)

Sends a SecureTeachIn message in multiple telegrams

Parameters
msgThe Message to be split into telegrams
gatewayThe eoGateway the telegrams are to be sent with
Returns