EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
#include <eoMessageHandler.h>
Public Member Functions | |
eoReturn | ProcessTelegram (eoTelegram &tel, eoMessage &msg) |
eoReturn | ProcessTelegram (eoTelegram &tel, eoReManMessage &msg) |
eoReturn | ProcessTelegram (eoTelegram &tel, eoMaintenanceMessage &msg) |
void | CleanUpChainerLists () |
eoReturn | ComposeChainedMessage (const eoMessage &msg, eoGateway &gateway) |
eoReturn | ComposeChainedMessage (const eoMaintenanceMessage &msg, eoGateway &gateway) |
eoReturn | ComposeChainedMessage (const eoReManMessage &reMsg, eoGateway &gateway, bool shallBeRepeated=false) |
Helper class converting telegrams to messages and chaining.
void eoMessageHandler::CleanUpChainerLists | ( | ) |
Calls the CleanUpList() function of each Message Chainer to delete eoChainedMessages that are timed out
eoReturn eoMessageHandler::ComposeChainedMessage | ( | const eoMaintenanceMessage & | msg, |
eoGateway & | gateway | ||
) |
Sends a eoMaintenanceMessage
msg | eoMaintenanceMessage to be sent |
gateway | The eoGateway the telegrams are to be sent with |
eoReturn eoMessageHandler::ComposeChainedMessage | ( | const eoReManMessage & | reMsg, |
eoGateway & | gateway, | ||
bool | shallBeRepeated = false |
||
) |
Sends a long eoReManMessage in multiple telegrams
reMsg | eoReManMessage |
gateway | The eoGateway the telegrams are to be sent with |
eoReturn eoMessageHandler::ProcessTelegram | ( | eoTelegram & | tel, |
eoMessage & | msg | ||
) |
Processes a telegram that is part of a chained message
tel | incoming telegram |
msg | resulting eoMessage |
eoReturn eoMessageHandler::ProcessTelegram | ( | eoTelegram & | tel, |
eoReManMessage & | msg | ||
) |
Processes a telegram that is part of a chained message
tel | incoming telegram |
msg | resulting eoReManMessage |
eoReturn eoMessageHandler::ProcessTelegram | ( | eoTelegram & | tel, |
eoMaintenanceMessage & | msg | ||
) |
Processes a telegram that is part of a chained message
tel | incoming telegram |
msg | resulting eoReManMessage |