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

Abstract class for channel information. Abstract class for channel information. From this class specific channel informations classes for Generic Profiles or EEP are derived. More...

#include <eoChannelInfo.h>

Inheritance diagram for eoChannelInfo:

Public Member Functions

const char * ToString (uint8_t strType)
 
void SetName (const char *name)
 
virtual uint8_t GetSubIndex ()
 

Public Attributes

CHANNEL_TYPE type
 CHANNEL_TYPE
 
VALUE_TYPE signalType
 Current, Setpoint Absolute, Setpoint relative.
 
double min
 Min as clear value.
 
double max
 Max as clear value.
 

Detailed Description

Abstract class for channel information. Abstract class for channel information. From this class specific channel informations classes for Generic Profiles or EEP are derived.

Examples:
tutorial6.cpp.

Member Function Documentation

◆ GetSubIndex()

virtual uint8_t eoChannelInfo::GetSubIndex ( )
inlinevirtual

If in a profile multiple Channels Exist with same type, this returns the "SubIndex" for this profile

Reimplemented in eoGPChannelInfo, and eoEEPChannelInfo.

◆ ToString()

const char* eoChannelInfo::ToString ( uint8_t  strType)

Returns for signalTypes either the NAME or the UNIT, for flags a small desc

Parameters
strTypeNAME(0x00) or UNIT(0x01)
Returns
Pointer to const String
Examples:
Gateway_example.cpp, Gateway_SubtypeExample.cpp, GatewayFiltered_example.cpp, genericProfile_examples.cpp, sendTelegram_example.cpp, tutorial1.cpp, vld_example.cpp, and WatcherMain.cpp.