33 #ifndef EO_TEACH_IN_MODULE_H_ 34 #define EO_TEACH_IN_MODULE_H_ 80 RESP_REJECTED_GENERALLY = 0,
83 RESP_REJECTED_CHANNELS
114 void SetRPS(uint8_t func, uint8_t type);
120 void Set1BS(uint8_t func, uint8_t type);
126 void Set4BS(uint8_t func, uint8_t type);
170 allowAutoTeachOut = enable;
177 return allowAutoTeachOut;
207 bool isTeachedIN(uint32_t deviceID,uint8_t u8Rorg = 0xFF);
257 uint8_t rps_func, rps_type, bs1_func, bs1_type, bs4_func, bs4_type;
259 bool allowAutoTeachOut;
261 bool IsDuplicatedSimpleTeachInMessage(
eoMessage & m);
264 friend class eoTeachMessageHandler;
272 #endif // !defined(EA_62DB5BA2_ABF0_41c3_9291_81B05C9C37AD__INCLUDED_) 6- GP teach in
Definition: eoTeachInModule.h:69
5- RECEIVED A SECOND TEACH IN
Definition: eoTeachInModule.h:67
Interface for storing.
Definition: eoISerialize.h:48
std::map< uint32_t, bool > teach_id_map
Map type definition for teached devices.
Definition: eoTeachInModule.h:87
TEACH_RETURN TeachIN(eoMessage &m)
handles Teach IN Message
eoTeachInModule(eoDeviceManager *eoDevManager, eoSecurity *sec)
void TeachOut(uint32_t id)
2 - EEP teach in has been set
Definition: eoTeachInModule.h:61
eoReturn CreateGPResponse(eoMessage &msg, uint16_t manId, uint32_t destinationId, GP_RESPONSE_RESULT response, eoProfile *profile)
static bool isTeachIN(eoMessage &telegram)
a class to describe an EnOcean Device
Definition: eoDevice.h:49
Manages the devices.
Definition: eoDeviceManager.h:51
Message Class for communication.
Definition: eoMessage.h:47
1 -Added a new device
Definition: eoTeachInModule.h:59
UTE_EEP_TEACH_IN_QUERY GetUTEQuery()
7 Teach Out Request received
Definition: eoTeachInModule.h:71
UTE_DIRECTION
UTE Direction response codes.
Definition: eoUTEHelper.h:73
UTE_RESPONSE
UTE Response codes.
Definition: eoUTEHelper.h:39
TEACH_RETURN
Teach process return codes.
Definition: eoTeachInModule.h:54
GP_RESPONSE_RESULT
Result after a Teach IN.
Definition: eoTeachInModule.h:78
virtual uint8_t Serialize(eoArchive &arch)
Serialization Function which will be called by the eoStorageManager.
void Set4BS(uint8_t func, uint8_t type)
3- EEP teach in and new Device
Definition: eoTeachInModule.h:63
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
DEPRECATED(eoReturn ParseUTE(eoMessage &msg))
0 -Tried to add an object with the same name, which differ!
Definition: eoTeachInModule.h:57
void SetRPS(uint8_t func, uint8_t type)
bool teachedIN
Teached in.
Definition: eoTeachInModule.h:50
handles EnOcean Security Telegrams
Definition: eoSecurity.h:53
base class for Profile parsing
Definition: eoProfile.h:61
handles TeachIn Messages
Definition: eoTeachInModule.h:97
bool GetAutoTeachOut()
Definition: eoTeachInModule.h:175
bool isTeachedIN(eoMessage &telegram)
void SetAutoTeachOut(bool enable)
Definition: eoTeachInModule.h:168
Teach message structure.
Definition: eoTeachInModule.h:47
void Set1BS(uint8_t func, uint8_t type)
4- SECURITY Teach IN
Definition: eoTeachInModule.h:65
Helper Structure for eep teach in Queries.
Definition: eoUTEHelper.h:82
the base Archive
Definition: eoArchive.h:46