33 #ifndef EOSERIALEVENTS_H_ 34 #define EOSERIALEVENTS_H_ 42 CO_DUTYCYCLE_LIMIT_UNREACHED = 0x00,
44 CO_DUTYCYCLE_LIMIT_REACHED = 0x01
51 SA_RECLAIM_NOT_SUCCESSFUL = 1,
61 CO_EVENT_SECUREDEVICES = 0x05,
63 SA_DUTYCYCLE_LIMIT = 6,
65 CO_EVENT_DUTYCYCLE_LIMIT = 0x06,
67 CO_EVENT_TRANSMISSION_FAILED = 0x07,
71 CO_LRN_MODE_DISABLED = 0x09
80 SA_EEP_NOT_ACCEPTED = 0x11,
84 SA_CONTROLLER_FULL = 0x13,
86 SA_RSSI_NOT_GOOD = 0x14,
90 SA_NOT_SUPPORTED = 0xFF
112 eoPacket* preparePacket(uint8_t u8Length)
const;
135 eoEventConfirmLearn(uint8_t priorityOfPostMasterCandidate,uint16_t manufacturerID,uint8_t eep_rorg,uint8_t eep_func,
136 uint8_t eep_type,uint8_t rssi,uint32_t postMasterCandidate, uint32_t smartAckClient,uint8_t hopCount);
142 uint8_t priorityOfPostMasterCandidate;
159 static eoPacket createResponse(uint16_t responseTime, SA_CONFIRM_CODE code);
180 READY_MODE_STANDARD_SECURITY = 0,
181 READY_MODE_EXTENDED_SECURITY = 1,
187 RESET_VOLTATE_DROP = 0,
192 RESET_MEMORY_ERROR = 5,
193 RESET_INVALID_MEMORY = 6,
217 SEC_EVENT_TI_FAILED = 0,
219 SEC_EVENT_RESERVED = 1,
221 SEC_EVENT_RES_WRONG_KEY = 2,
223 SEC_EVENT_CONF_COUNT_TEL_CMAC = 3,
225 SEC_EVENT_CONF_TELEGRAM_CORRUPT = 0x04,
227 SEC_EVENT_NO_PSK = 0x05,
229 SEC_EVENT_NO_PSK_AVAILABLE = 0x06,
231 SEC_EVENT_RLCCMAC_INCORRECT = 0x07,
233 SEC_EVENT_STANDARD_TELEGRAM= 0x08,
235 SEC_EVENT_TI_SUCCESS = 0x09,
237 SEC_EVENT_VALID_RLC = 0x0A,
238 } SECURE_EVENT_CAUSE_t;
270 EVENT_TRANSMISSION_CSMA_FAILED = 0,
271 EVENT_NO_ACK_RECEIVED = 1,
272 } EVENT_TRANSMISSION_FAILED_t;
Informs Smart Acknowledge client about the result of a previous sent learn request.
Definition: eoSerialEvents.h:164
Informs the external host that the device has finished all transmissions.
Definition: eoSerialEvents.h:288
Request to external host to determine how to handle the received learn request. This event will be se...
Definition: eoSerialEvents.h:131
Informs the external host that the learn mode has been disabled due to time-out.
Definition: eoSerialEvents.h:296
SA_EVENT_TYPE getEventType() const
Returns the event type. Can be used safely to cast the packet.
Definition: eoSerialEvents.h:109
Informs external host about events regarding security processing.
Definition: eoSerialEvents.h:243
Reports about a transmission failure, this event is used mainly for long range products.
Definition: eoSerialEvents.h:276
static eoSerialEvent * parsePacket(eoPacket &packet)
Parses packet, checks if it is a serial event.
Informs external host about duty cycle limit. This event can be e.g. triggered when to many telegrams...
Definition: eoSerialEvents.h:256
Informs external host about the readiness for operation. This command is send e.g. after power on, or sleep mode.
Definition: eoSerialEvents.h:203
READY_MODE_t mode
Confirm code.
Definition: eoSerialEvents.h:211
SA_CONFIRM_CODE confirmCode
Confirm code.
Definition: eoSerialEvents.h:172
uint32_t smartAckClient
Eurid of sensor.
Definition: eoSerialEvents.h:155
uint8_t eep_func
EEP of the sensor func.
Definition: eoSerialEvents.h:148
uint32_t postMasterCandidate
Device ID of the Post master candidate.
Definition: eoSerialEvents.h:153
uint8_t rssi
Signal strength; Send case: FF Receive case: actual RSSI.
Definition: eoSerialEvents.h:151
Informs about an unsuccessful Smart Acknowledge client reclaim.
Definition: eoSerialEvents.h:118
WAKEUP_CAUSE_t wakeUpCause
Wakeup reason of the GWC.
Definition: eoSerialEvents.h:209
uint8_t hopCount
Maximal repeater counter.
Definition: eoSerialEvents.h:157
uint32_t deviceId
Device which caused this event.
Definition: eoSerialEvents.h:251
uint8_t eep_rorg
EEP of the sensor rorg.
Definition: eoSerialEvents.h:146
EVENT_TRANSMISSION_FAILED_t eventCause
reason of transmission failure
Definition: eoSerialEvents.h:282
uint16_t responseTime
Response time for Smart Ack Client in ms in which the controller can prepare the data and send it to ...
Definition: eoSerialEvents.h:170
Class which contains a Packet.
Definition: eoPacket.h:43
CO_DUTYCYCLE_LIMIT eventCause
Duty cycle event.
Definition: eoSerialEvents.h:262
SECURE_EVENT_CAUSE_t eventCause
Reported security issue.
Definition: eoSerialEvents.h:249
Serial Event base class. Use the parse Packet function to generate the right packet type...
Definition: eoSerialEvents.h:96
uint16_t manufacturerID
Manufacturer ID.
Definition: eoSerialEvents.h:144