EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
An interface for profiles which support bidirectional communication, but do not indicate the direction of the messages. More...
#include <eoISimpleBidirectionalProfile.h>
Public Member Functions | |
virtual eoReturn | SetDirection (SIMPLE_DIRECTION direction)=0 |
virtual eoChannelInfo * | GetOutChannel (CHANNEL_TYPE type, uint8_t subType) |
virtual eoChannelInfo * | GetOutChannel (CHANNEL_TYPE type)=0 |
virtual eoChannelInfo * | GetOutChannel (uint8_t channelNumber)=0 |
Protected Attributes | |
SIMPLE_DIRECTION | direction |
An interface for profiles which support bidirectional communication, but do not indicate the direction of the messages.
This interface is an helper interface for EEProfiles which communicate bidirectional, but do not indicate in the message itself which direction is used (e.g. Command Bytes). Profiles using this interface use the direction bit to indicate in which way messages should be created/ parsed. If the direction is set to eoController, eoLink is the Controller and parses the messages as Actuator messages and send messages as Controller. If the direction is set to eoActuator, eoLink simulates an Actuator device. The default direction is eoController. When Changing the direction, the values are getting invalid.
|
inlinevirtual |
Returns the outChannel for the selected type and subtype
type | CHANNEL_TYPE |
subType | is either the numeric "subChannelNUmber" (temperature CHannel 0,1,2,3) or a specified keyword for it(see profile) |
Reimplemented in eoEEP_A520xx, eoEEP_A52006, eoEEP_D20611, eoEEP_D20610, eoEEP_D2A0xx, and eoEEP_D20640.
|
pure virtual |
Returns the outChannel for the selected type
type | CHANNEL_TYPE |
Implemented in eoEEP_A520xx, eoEEP_A52006, eoEEP_D20611, eoEEP_D20610, eoEEP_D2A0xx, and eoEEP_D20640.
|
pure virtual |
returns the pointer to eoChannelInfo for the selected outChannelNumber or NULL
channelNumber |
Implemented in eoEEP_A520xx, eoEEP_A52006, eoEEP_D20611, eoEEP_D20610, eoEEP_D2A0xx, and eoEEP_D20640.
|
pure virtual |
Set the direction of the profile, if the specific profile does not support Bidirectional mode, nothing happens.
direction |
Implemented in eoEEP_A520xx, eoEEP_A52006, eoEEP_D20611, eoEEP_D20610, eoEEP_D2A0xx, and eoEEP_D20640.