|
EnOcean Link
1.14.2.0
Middleware to Connect EnOcean easily to other Projects
|
contains static Helper Functions More...
#include <eoMSCHelper.h>
Public Member Functions | |
| eoReturn | GetMSCmanufacturer (MANUFACTURER_LIST *manufacturer, eoMessage &msg) |
| eoReturn | GetMSCpayload (uint8_t *payload, uint8_t maxDataCount, eoMessage &msg) |
| eoReturn | SetMSCmanufacturer (const MANUFACTURER_LIST manufacturer, eoMessage &msg) |
| eoReturn | SetMSCpayload (const uint8_t *payload, uint8_t dataCount, eoMessage &msg) |
contains static Helper Functions
The eoMSCHelper allows you to easily integrate MSC telegrams into your program.
| eoReturn eoMSCHelper::GetMSCmanufacturer | ( | MANUFACTURER_LIST * | manufacturer, |
| eoMessage & | msg | ||
| ) |
Get the MSC manufacturer
| [out] | manufacturer | Pointer to the variable where the manufacturer ID should be returned |
| msg | eoTelegram which needs to be converted |
Get the MSC payload
| [out] | payload | Pointer to an array |
| maxDataCount | The size of the payload array | |
| msg | eoTelegram which needs to be converted |
| eoReturn eoMSCHelper::SetMSCmanufacturer | ( | const MANUFACTURER_LIST | manufacturer, |
| eoMessage & | msg | ||
| ) |
Set the MSC manufacturer
| manufacturer | |
| msg |