![]() |
EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
Request to external host to determine how to handle the received learn request. This event will be send if SmartAck learn mode is enabled. More...
#include <eoSerialEvents.h>
Public Member Functions | |
eoEventConfirmLearn (uint8_t priorityOfPostMasterCandidate, uint16_t manufacturerID, uint8_t eep_rorg, uint8_t eep_func, uint8_t eep_type, uint8_t rssi, uint32_t postMasterCandidate, uint32_t smartAckClient, uint8_t hopCount) | |
![]() | |
SA_EVENT_TYPE | getEventType () const |
Returns the event type. Can be used safely to cast the packet. More... | |
Static Public Member Functions | |
static eoEventConfirmLearn * | createFromPacket (eoPacket &packet) |
static eoPacket | createResponse (uint16_t responseTime, SA_CONFIRM_CODE code) |
Creates a response packet which can be send. | |
![]() | |
static eoSerialEvent * | parsePacket (eoPacket &packet) |
Parses packet, checks if it is a serial event. More... | |
Public Attributes | |
uint8_t | priorityOfPostMasterCandidate |
uint16_t | manufacturerID |
Manufacturer ID. | |
uint8_t | eep_rorg |
EEP of the sensor rorg. | |
uint8_t | eep_func |
EEP of the sensor func. | |
uint8_t | eep_type |
uint8_t | rssi |
Signal strength; Send case: FF Receive case: actual RSSI. | |
uint32_t | postMasterCandidate |
Device ID of the Post master candidate. | |
uint32_t | smartAckClient |
Eurid of sensor. | |
uint8_t | hopCount |
Maximal repeater counter. | |
Additional Inherited Members | |
![]() | |
eoPacket * | preparePacket (uint8_t u8Length) const |
![]() | |
SA_EVENT_TYPE | event |
Request to external host to determine how to handle the received learn request. This event will be send if SmartAck learn mode is enabled.
Some sensors need to use the Smart Ack functionality to be able to receive responses. For this the sensor needs to be learned in via smart ack (learn mode). Then the smart ack learn mode is enabled and a smart ack requests has been received an event packet with type SA_CONFIRM_LEARN is generated. It can be parsed with eoSerialEvent::parsePacket and the eoEventConfirmLearn can be used. The eoEventConfirmLearn::createResponse can be used to confirm the learn in. For more about smart ack, please check the smart ack documentation.