EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoSerialCommand.h
Go to the documentation of this file.
1 /******************************************************************************
2  DISCLAIMER
3 
4  THIS SOFTWARE PRODUCT ("SOFTWARE") IS PROPRIETARY TO ENOCEAN GMBH, OBERHACHING,
5  GERMANY (THE "OWNER") AND IS PROTECTED BY COPYRIGHT AND INTERNATIONAL TREATIES OR
6  PROTECTED AS TRADE SECRET OR AS OTHER INTELLECTUAL PROPERTY RIGHT. ALL RIGHTS, TITLE AND
7  INTEREST IN AND TO THE SOFTWARE, INCLUDING ANY COPYRIGHT, TRADE SECRET OR ANY OTHER
8  INTELLECTUAL PROPERTY EMBODIED IN THE SOFTWARE, AND ANY RIGHTS TO REPRODUCE,
9  DISTRIBUTE, MODIFY, DISPLAY OR OTHERWISE USE THE SOFTWARE SHALL EXCLUSIVELY VEST IN THE
10  OWNER. ANY UNAUTHORIZED REPRODUCTION, DISTRIBUTION, MODIFICATION, DISPLAY OR OTHER
11  USE OF THE SOFTWARE WITHOUT THE EXPLICIT PERMISSION OF OWNER IS PROHIBITED AND WILL
12  CONSTITUTE AN INFRINGEMENT OF THE OWNER'S RIGHT AND MAY BE SUBJECT TO CIVIL OR
13  CRIMINAL SANCTION.
14 
15  THIS SOFTWARE IS PROVIDED BY THE OWNER "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
16  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
17  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN PARTICULAR, THE OWNER DOES NOT WARRANT
18  THAT THE SOFTWARE SHALL BE ERROR FREE AND WORKS WITHOUT INTERRUPTION.
19 
20  IN NO EVENT SHALL THE OWNER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  ******************************************************************************/
27 
34 #ifndef EOSERIALCOMMAND_H_
35 #define EOSERIALCOMMAND_H_
36 #include "eoHalTypes.h"
37 #include "eoApiDef.h"
38 #include "eoPacket.h"
39 #include "eoSerialEvents.h"
40 #include <vector>
41 class eoGateway;
42 
43 
48 typedef enum
49 {
85  CO_WR_MEM = 18,
87  CO_RD_MEM = 19,
95  CO_WR_MODE = 28,
114  // 38 is not used
119  //41-45 are deprecated / not used
157 
159 typedef enum
160 {
162  BLOCK_RADIO = 0x00,
164  APPLY_RADIO = 0x80,
169 } FILTER_KIND;
170 
172 typedef enum
173 {
177  CHOICE = 1,
179  DBM = 2,
182 } FILTER_TYPE;
183 
185 typedef enum
186 {
187  FLASH = 0,
188  RAM_0 = 0x01,
189  DATA_RAM = 0x02,
190  IDATA_RAM = 0x03,
191  XDATA_RAM= 0x04,
192 } MEMORY_TYPE;
193 
195 typedef enum
196 {
198  OR = 0,
200  AND = 1
202 
204 typedef struct
205 {
207  uint8_t appVersion[4]; //Application versions
209  char appDescription[16]; //Applications description
211  uint8_t apiVersion[4]; //API version
213  uint32_t chipID; //Unique ID
215  uint32_t chipVersion; //Reserved for internal use
217 
219 typedef struct
220 {
224  uint32_t memoryAddress;
226  uint16_t dataLength;
227 } CO_RD_MEMORY;
228 
230 typedef struct
231 {
232  std::vector<uint8_t> memoryData;
234 
236 typedef struct
237 {
241  uint32_t memoryAddress;
243  std::vector<uint8_t> memoryData;
244 } CO_WR_MEMORY;
245 
247 typedef struct
248 {
250  uint32_t baseID; //Base ID
252  uint8_t remainingWrites; //Remaining write cycles for Base ID
254 
256 typedef struct
257 {
259  bool repEnable; //Repeater enable
261  uint8_t repLevel; //Repeater level
263 
265 typedef struct
266 {
268  FILTER_TYPE filterType; //Filter type
270  uint32_t filterValue; //Filter value
272 
273 
274 
276 typedef enum
277 {
281  EC_RESET_PIN = 0x01,
291  EC_MEM_ERRPR = 0x06,
297  EC_UNKNOWN = 0x09
299 
301 typedef enum
302 {
307 } WR_MODE_CODE;
308 
310 typedef struct
311 {
313  uint8_t priPostmaster;
315  uint32_t manufacturerID;
317  uint8_t eep[3];
319  uint8_t rssi;
321  uint32_t postmasterID;
323  uint32_t smartAckID;
325  uint8_t hopCount;
327 
329 typedef struct
330 {
332  uint16_t responseTime;
334  SA_CONFIRM_CODE confirmCode;
336 
338 typedef struct
339 {
343 
345 typedef enum
346 {
364 
366 typedef enum
367 {
373 
375 typedef enum
376 {
378  SA_EL_SIMPLE = 0X00,
384 
386 typedef struct
387 {
389  bool enabled;
393 
395 typedef struct
396 {
398  uint32_t clientID;
400  uint32_t postmasterID;
402  uint8_t mailboxIndex;
403 
405 
406 
407 
409 typedef struct
410 {
412  uint8_t availableCycle;
414  uint8_t numOfSlots;
416  uint16_t slotPeriod;
418  uint16_t slotPeriodLeft;
420  uint8_t loadAfterCycle;
422 
423 typedef struct
424 {
426  uint8_t code[4];
427 }
428 CO_REMAN_CODE;
429 typedef enum
430 {
431  MHZ_315=0x00,
432  MHZ_868_3 = 0x01,
433  MHZ_902_875 = 0x02,
434  MHZ_925 = 0x03,
435  MHZ_928 = 0x04,
436  GHZ_2_4 = 0x20
437 } ESP3_FREQUENCY;
438 
439 typedef enum
440 {
441  ERP1 = 0x00,
442  ERP2 = 0x01,
443  IEEE_802_15_4 = 0x10,
444  BLUETOOTH = 0x20,
445  LONGRANGE = 0x30,
446 } ESP3_PROTOCOL;
447 
448 
449 typedef struct
450 {
451  ESP3_FREQUENCY frequency;
452  ESP3_PROTOCOL protocol;
453 } CO_RD_FREQUENY_RESPONSE;
454 typedef struct
455 {
456  uint8_t stepcode;
457  uint8_t statuscode;
458 } CO_RD_STEPCODE_RESPONSE;
459 
460 typedef enum
461 {
462  TX_ONLY_OFF = 0,
463  TX_ONLY_ON=1,
464  TX_ONLY_WITH_ON_AUTO_SLEEP =2,
465  TX_ONLY_MAX
466 } CO_TX_ONLY_MODE;
467 
474 {
475 
476 public:
481  eoSerialCommand(eoGateway *gateway);
482  virtual ~eoSerialCommand();
488  eoReturn GetFrequencyInfo(CO_RD_FREQUENY_RESPONSE &response);
494  eoReturn GetStepCode(CO_RD_STEPCODE_RESPONSE &response);
500  eoReturn Sleep(const uint32_t sleepPeriod);
505  eoReturn Reset();
518  eoReturn ReadMemory(CO_RD_MEMORY const &readMemory, CO_RD_MEMORY_RESPONSE &response);
524  eoReturn WriteMemory(CO_WR_MEMORY const &writeMemory);
529  eoReturn BIST();
535  eoReturn WriteIDBase(const uint32_t baseID);
548  eoReturn WriteRepeater(bool repEnable, const uint8_t repLevel);
562  eoReturn AddFilter(const FILTER_TYPE filterType, const uint32_t filterValue, const FILTER_KIND filterKind);
569  eoReturn DeleteFilter(const FILTER_TYPE filterType, const uint32_t filterValue);
581  eoReturn EnableFilter(const bool filterEnabled, const FILTER_OPERATOR filterOperator);
589  eoReturn ReadFilter(CO_RD_FILTER_RESPONSE *filter, uint8_t *filterCount, uint8_t maxFilterCount);
595  eoReturn WaitMaturity(const bool waitMaturity);
602  eoReturn SmartAckConfirmLearn(uint16_t responseTime, SA_CONFIRM_CODE confirmCode);
614  eoReturn Ready(CO_READY_RESPONSE &response);
622  eoReturn SmartAckWriteLearnMode(bool enable, SA_EXTENDED_LEARNMODE extended, uint32_t timeout);
637  eoReturn SmartAckLearnConfirm(uint16_t responseTime, SMARTACK_CONFIRM_CODE confirmCode, uint32_t postmasterID, uint32_t clientID);
644  eoReturn SmartAckSendLearnRequest(uint16_t manufacturerID, uint32_t EEP);
650  eoReturn SmartAckReset(uint32_t clientID);
658  eoReturn SmartAckLearnedClients(SA_RD_LEARNEDCLIENTS_RESPONSE *clients, uint8_t *learnedCount, uint8_t maxLearnedCount);
664  eoReturn SmartAckSetReclaimTries(uint8_t reclaimCount);
670  eoReturn SmartAckSetPostmaster(uint8_t mailboxCount);
691  eoReturn EventDutyCycleLimit (CO_DUTYCYCLE_LIMIT &request);
696  eoReturn DutyCycleLimit (CO_DUTYCYCLE_LIMIT limit);
697 
702  eoReturn WriteStartupDelay(uint8_t delay);
703 
708  eoReturn WriteRemanRepeating(bool enabled);
713  eoReturn ReadRemanRepeating(bool &isEnabled);
719  eoReturn SetNoiseTreshold(uint8_t rssiLevel);
725  eoReturn GetNoiseTreshold(uint8_t &rssiLevel);
732  eoReturn WriteRssiTestMode(bool enable,uint16_t timeOut);
733 
739  eoReturn ReadRssiTestMode(bool &isEnabled);
740 
748  eoReturn WriteTransparentMode(bool enable);
754  eoReturn ReadTransparentMode(bool &isEnabled);
755 
761  eoReturn WriteTXOnlyMode(CO_TX_ONLY_MODE txOnlyMode);
767  eoReturn ReadTXOnlyMode(CO_TX_ONLY_MODE & txOnlyMode);
768 
774 private:
775  eoGateway *gateway;
776  eoReturn initPacket(uint8_t type, uint8_t command, uint8_t length);
777  eoPacket serialPacket;
778 };
779 
780 #endif /* EOSERIALCOMMAND_H_ */
eoReturn EventSmartAckConfirmLearn(SA_CONFIRM_LEARN_REQUEST &request)
Add Pre-shared key for inbound secure device.
Definition: eoSerialCommand.h:101
uint32_t chipID
Chip ID.
Definition: eoSerialCommand.h:213
SmartAck learned clients response structure.
Definition: eoSerialCommand.h:395
Select how frequently the rolling codes in the outbound secure link table will be saved to the NVM...
Definition: eoSerialCommand.h:133
Change the firmware to run in a transparent mode, deactivates chaining,reman,encryption.
Definition: eoSerialCommand.h:149
Read memory command.
Definition: eoSerialCommand.h:236
uint16_t responseTime
Response time for Smart Ack Client in ms in which the controller can prepare the data and send it to ...
Definition: eoSerialCommand.h:332
Order to enter in energy saving mode.
Definition: eoSerialCommand.h:51
SA_CONFIRM_CODE confirmCode
Confirmation Code.
Definition: eoSerialCommand.h:334
Read Pre-shared key for inbound secure device.
Definition: eoSerialCommand.h:107
contains Dolphin API Definitions
Order to reset the device.
Definition: eoSerialCommand.h:53
eoReturn ReadRemanRepeating(bool &isEnabled)
Set frequency info.
Definition: eoSerialCommand.h:113
eoReturn SmartAckConfirmLearn(uint16_t responseTime, SA_CONFIRM_CODE confirmCode)
eoReturn DutyCycleLimit(CO_DUTYCYCLE_LIMIT limit)
Flywheel timer counter reached the time period.
Definition: eoSerialCommand.h:285
Send Smart Ack Learn request (Client)
Definition: eoSerialCommand.h:354
eoReturn WaitMaturity(const bool waitMaturity)
eoReturn EventDutyCycleLimit(CO_DUTYCYCLE_LIMIT &request)
Read security informations (level, keys)
Definition: eoSerialCommand.h:91
Read Repeater Level off,1,2.
Definition: eoSerialCommand.h:69
Read x bytes of the Flash, XRAM, RAM0 ….
Definition: eoSerialCommand.h:87
Read memory command.
Definition: eoSerialCommand.h:219
std::vector< uint8_t > memoryData
Bytes to write.
Definition: eoSerialCommand.h:243
uint8_t rssi
Signal strength; Send case: FF/Receive case: actual RSSI.
Definition: eoSerialCommand.h:319
uint32_t memoryAddress
Address.
Definition: eoSerialCommand.h:224
uint8_t loadAfterCycle
Load available when period ends.
Definition: eoSerialCommand.h:420
MEMORY_TYPE memoryType
MEMORY_TYPE to read.
Definition: eoSerialCommand.h:239
Enable/Disable supplied filters.
Definition: eoSerialCommand.h:77
Write x bytes of the Flash, XRAM, RAM0 ….
Definition: eoSerialCommand.h:85
eoReturn WriteTransparentMode(bool enable)
Enter a state where it mirrors the RSSI signal strength.
Definition: eoSerialCommand.h:143
Advanced Learnmode.
Definition: eoSerialCommand.h:380
Write security informations (level, keys)
Definition: eoSerialCommand.h:93
eoReturn SmartAckSendLearnRequest(uint16_t manufacturerID, uint32_t EEP)
Read base ID response.
Definition: eoSerialCommand.h:247
Clear the internal list of all secure devices.
Definition: eoSerialCommand.h:118
Set the temporary rolling-code window.
Definition: eoSerialCommand.h:105
eoPacket GetSerialPacket()
eoReturn ReadTransparentMode(bool &isEnabled)
Compatible mode (default)
Definition: eoSerialCommand.h:304
uint16_t dataLength
Number of bytes to read.
Definition: eoSerialCommand.h:226
eoReturn WriteMode(WR_MODE_CODE mode)
Read supplied filters.
Definition: eoSerialCommand.h:79
Enter a state where it mirrors the RSSI signal strength.
Definition: eoSerialCommand.h:141
Perform Flash BIST operation.
Definition: eoSerialCommand.h:61
WR_MODE_CODE
Types of mode.
Definition: eoSerialCommand.h:301
Used for Smart Ack to add or delete a mailbox of a client.
Definition: eoSerialCommand.h:352
uint8_t numOfSlots
Number of duty cycle slots.
Definition: eoSerialCommand.h:414
uint32_t memoryAddress
Address.
Definition: eoSerialCommand.h:241
uint32_t clientID
Device ID of the Smart Ack Client.
Definition: eoSerialCommand.h:398
Read number of teached in secure devices.
Definition: eoSerialCommand.h:97
uint8_t repLevel
Repeater level.
Definition: eoSerialCommand.h:261
SmartAck read learnmode response structure.
Definition: eoSerialCommand.h:386
Read memory response.
Definition: eoSerialCommand.h:230
EnOcean Common Commands class, enables an easy interface for the most common commands.
Definition: eoSerialCommand.h:473
Delete filters.
Definition: eoSerialCommand.h:75
uint8_t priPostmaster
Already post master 0b xxxx 1xxx/Place for mailbox 0b xxxx x1xx/Good RSSI 0b xxxx xx1x/Local 0b xxxx ...
Definition: eoSerialCommand.h:313
Advanced mode.
Definition: eoSerialCommand.h:306
eoReturn WriteStartupDelay(uint8_t delay)
Waiting till end of maturity time before received radio telegrams will transmitted.
Definition: eoSerialCommand.h:81
Check if the REMAN telegrams originating from this module can be repeated.
Definition: eoSerialCommand.h:127
Reset caused by usage of the reset pin.
Definition: eoSerialCommand.h:281
Write the reman code.
Definition: eoSerialCommand.h:121
eoReturn WriteRepeater(bool repEnable, const uint8_t repLevel)
FILTER_OPERATOR
Filter operator.
Definition: eoSerialCommand.h:195
FILTER_KIND
Filter kinds.
Definition: eoSerialCommand.h:159
eoReturn GetStepCode(CO_RD_STEPCODE_RESPONSE &response)
eoReturn ReadTXOnlyMode(CO_TX_ONLY_MODE &txOnlyMode)
Block filtered repeating.
Definition: eoSerialCommand.h:166
Advanced Learnmode select Rep.
Definition: eoSerialCommand.h:382
uint8_t availableCycle
Available duty cycle.
Definition: eoSerialCommand.h:412
eoReturn ReadRssiTestMode(bool &isEnabled)
Set number of reclaim attempts.
Definition: eoSerialCommand.h:360
eoReturn SmartAckSetPostmaster(uint8_t mailboxCount)
MEMORY_TYPE
Memory TYPE.
Definition: eoSerialCommand.h:185
Modify the startup time for a time.
Definition: eoSerialCommand.h:123
Activate/Deactivate Post master functionality.
Definition: eoSerialCommand.h:362
uint32_t baseID
Base ID.
Definition: eoSerialCommand.h:250
FILTER_TYPE filterType
Filter type.
Definition: eoSerialCommand.h:268
Add secure device maintenance key to controller.
Definition: eoSerialCommand.h:145
AND composition of filters.
Definition: eoSerialCommand.h:200
Learn IN.
Definition: eoSerialCommand.h:369
Enable / disable the legacy RLC processing mode for 24 bit RLC.
Definition: eoSerialCommand.h:135
Read the device (SW) version / (HW) version, chip ID etc.
Definition: eoSerialCommand.h:55
Add device to secure link table. New version to allow for 32 bit RLC.
Definition: eoSerialCommand.h:137
uint16_t slotPeriodLeft
Time left in actual slot in seconds.
Definition: eoSerialCommand.h:418
Parity error.
Definition: eoSerialCommand.h:287
CPU memory request does not correspond to valid memory location.
Definition: eoSerialCommand.h:291
Voltage supply drop or indicates that VDD > VON.
Definition: eoSerialCommand.h:279
This command enables/disables the tx only mode of a device. The device still can send but will disabl...
Definition: eoSerialCommand.h:153
eoReturn WriteTXOnlyMode(CO_TX_ONLY_MODE txOnlyMode)
Read the RSSI noise threshold level for telegram detection.
Definition: eoSerialCommand.h:131
Wake-up pint 0 activated.
Definition: eoSerialCommand.h:293
Learn OUT.
Definition: eoSerialCommand.h:371
SA_EXTENDED_LEARNMODE
SmartAck extended learnmode enum.
Definition: eoSerialCommand.h:375
Read system log from device databank.
Definition: eoSerialCommand.h:57
uint8_t hopCount
Numbers of repeater hop.
Definition: eoSerialCommand.h:325
bool enabled
Learnmode not active = 0/Learnmode active = 1.
Definition: eoSerialCommand.h:389
Simple Learnmode.
Definition: eoSerialCommand.h:378
eoReturn BIST()
Set/Reset Smart Ack learn mode.
Definition: eoSerialCommand.h:348
Wake-up pint 1 activated.
Definition: eoSerialCommand.h:295
HW Parity error in internal or external memory.
Definition: eoSerialCommand.h:289
Add filter to filter list.
Definition: eoSerialCommand.h:71
EC_RESET_CAUSE resetCause
Cause of reset.
Definition: eoSerialCommand.h:341
This command reads the current state of the receiver.
Definition: eoSerialCommand.h:155
Read ID range base number.
Definition: eoSerialCommand.h:65
eoReturn WriteRemanRepeating(bool enabled)
Apply filtered repeating.
Definition: eoSerialCommand.h:168
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
Send reset command to every SA sensor.
Definition: eoSerialCommand.h:356
eoReturn SmartAckSetReclaimTries(uint8_t reclaimCount)
Modifies the baudrate of the device.
Definition: eoSerialCommand.h:111
MEMORY_TYPE memoryType
MEMORY_TYPE to read.
Definition: eoSerialCommand.h:222
eoReturn ReadFilter(CO_RD_FILTER_RESPONSE *filter, uint8_t *filterCount, uint8_t maxFilterCount)
Select if REMAN telegrams originating from this transceiver can be repeated.
Definition: eoSerialCommand.h:125
Read repeater response.
Definition: eoSerialCommand.h:256
eoReturn Reset()
Sets the RSSI noise rejection threshold level for telegram reception. Received Signals below this thr...
Definition: eoSerialCommand.h:129
eoReturn DutyCycleReadLimit(CO_RD_DUTYCYCLE_RESPONSE &response)
EnOcean Gateway class, for handling a gateway Module.
Definition: eoGateway.h:139
eoReturn DeleteAllFilter()
eoReturn WriteMemory(CO_WR_MEMORY const &writeMemory)
eoReturn GetNoiseTreshold(uint8_t &rssiLevel)
eoReturn GetFrequencyInfo(CO_RD_FREQUENY_RESPONSE &response)
eoReturn ReadRepeater(CO_RD_REPEATER_RESPONSE &response)
SA_EXTENDED_LEARNMODE extended
Simple Learnmode = 0/Advance Learnmode = 1/Advance Learnmode select Rep. = 2.
Definition: eoSerialCommand.h:391
eoReturn WriteIDBase(const uint32_t baseID)
eoReturn SmartAckLearnedClients(SA_RD_LEARNEDCLIENTS_RESPONSE *clients, uint8_t *learnedCount, uint8_t maxLearnedCount)
eoReturn EnableFilter(const bool filterEnabled, const FILTER_OPERATOR filterOperator)
eoReturn SmartAckLearnAck(SA_LEARN_ACK_RESPONSE &response)
Source ID filter.
Definition: eoSerialCommand.h:175
Read secure device maintenance by index.
Definition: eoSerialCommand.h:147
Write mode, Advanced or Compatible mode.
Definition: eoSerialCommand.h:95
Applying radio filter.
Definition: eoSerialCommand.h:164
Feedback about the used address and length of the config area and the Smart Ack Table.
Definition: eoSerialCommand.h:89
Get Smart Ack learned sensors / mailboxes.
Definition: eoSerialCommand.h:358
eoReturn ReadVersion(CO_RD_VERSION_RESPONSE &version)
bool repEnable
Repeater enabled.
Definition: eoSerialCommand.h:259
Get Smart Ack learn mode state.
Definition: eoSerialCommand.h:350
eoReturn SmartAckReset(uint32_t clientID)
Confirm Learn response.
Definition: eoSerialCommand.h:310
Check, if secure device with given Id is teached in.
Definition: eoSerialCommand.h:99
eoReturn Ready(CO_READY_RESPONSE &response)
Watchdog timer counter reached the time period.
Definition: eoSerialCommand.h:283
Send secure Teach-In message.
Definition: eoSerialCommand.h:103
Reset System log from device databank.
Definition: eoSerialCommand.h:59
eoReturn SmartAckWriteLearnMode(bool enable, SA_EXTENDED_LEARNMODE extended, uint32_t timeout)
uint32_t postmasterID
Device ID of the Post master candidate.
Definition: eoSerialCommand.h:321
eoReturn SetNoiseTreshold(uint8_t rssiLevel)
uint32_t manufacturerID
Manufacturer ID.
Definition: eoSerialCommand.h:315
Write ID range base number.
Definition: eoSerialCommand.h:63
uint32_t filterValue
Filter value.
Definition: eoSerialCommand.h:270
eoReturn AddFilter(const FILTER_TYPE filterType, const uint32_t filterValue, const FILTER_KIND filterKind)
eoReturn WriteRssiTestMode(bool enable, uint16_t timeOut)
eoReturn DeleteFilter(const FILTER_TYPE filterType, const uint32_t filterValue)
COMMON_COMMAND_TYPE
The most common commands for ESP3.
Definition: eoSerialCommand.h:48
Unknown reset source.
Definition: eoSerialCommand.h:297
SMARTACK_CONFIRM_CODE
SmartAck confirm code enum send to gateway in serial command.
Definition: eoSerialCommand.h:366
Class which contains a Packet.
Definition: eoPacket.h:43
Blocking radio filter.
Definition: eoSerialCommand.h:162
Read version response.
Definition: eoSerialCommand.h:204
uint32_t chipVersion
Chip version (reserved for internal use)
Definition: eoSerialCommand.h:215
eoReturn ReadIDBase(CO_RD_IDBASE_RESPONSE &response)
uint32_t smartAckID
This sensor would be Learn IN.
Definition: eoSerialCommand.h:323
Read device from secure link table by index (new version for 32 bit RLC).
Definition: eoSerialCommand.h:139
eoReturn SmartAckReadLearnMode(SA_RD_LEARNMODE_RESPONSE &response)
Read actual duty cycle limit values.
Definition: eoSerialCommand.h:109
eoSerialCommand(eoGateway *gateway)
Ready response.
Definition: eoSerialCommand.h:338
uint32_t postmasterID
Postmaster ID dedicated Smart Ack Client.
Definition: eoSerialCommand.h:400
uint8_t remainingWrites
Remaining write cycles for base ID.
Definition: eoSerialCommand.h:252
Enable/Disable transmitting additional subtelegram info.
Definition: eoSerialCommand.h:83
Destination ID filter.
Definition: eoSerialCommand.h:181
EC_RESET_CAUSE
Reset cause according ESP 3.
Definition: eoSerialCommand.h:276
Learn SmartAck response.
Definition: eoSerialCommand.h:329
Reads if the firmware runs in a transparent mode.
Definition: eoSerialCommand.h:151
eoReturn SmartAckLearnConfirm(uint16_t responseTime, SMARTACK_CONFIRM_CODE confirmCode, uint32_t postmasterID, uint32_t clientID)
dBm filter
Definition: eoSerialCommand.h:179
uint8_t mailboxIndex
Internal counter of Post master (0x00 ... 0x0E)
Definition: eoSerialCommand.h:402
uint16_t slotPeriod
Period of one slot in seconds.
Definition: eoSerialCommand.h:416
eoReturn ReadMemory(CO_RD_MEMORY const &readMemory, CO_RD_MEMORY_RESPONSE &response)
Get the chip revision.
Definition: eoSerialCommand.h:116
Read filter response.
Definition: eoSerialCommand.h:265
SA_COMMAND_TYPE
SmartAck command enum.
Definition: eoSerialCommand.h:345
Choice filter.
Definition: eoSerialCommand.h:177
OR composition of filters.
Definition: eoSerialCommand.h:198
Delete filter from filter list.
Definition: eoSerialCommand.h:73
FILTER_TYPE
Filter types.
Definition: eoSerialCommand.h:172
Write Repeater Level off,1,2.
Definition: eoSerialCommand.h:67
Read actual duty cycle limit structure.
Definition: eoSerialCommand.h:409
eoReturn Sleep(const uint32_t sleepPeriod)