EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoIWatcher.h
Go to the documentation of this file.
1 
8 #include "eoDevice.h"
9 #include "eoTelegram.h"
10 
11 #ifndef EOIWATCHER_H_
12 #define EOIWATCHER_H_
13 
14 typedef enum
15 {
16  eoWATCHER = 1
17 } SUPPORTED_WATCHER;
18 
28 class eoIWatcher : public eoISerialize
29 {
30 public:
32  uint8_t type;
33  eoIWatcher();
34 
44  virtual uint32_t CheckSecurity(eoDevice const * const device,eoTelegram const &tel);
50  virtual uint8_t Serialize(eoArchive &arch);
51  virtual ~eoIWatcher();
52 private:
53 
54 };
55 
56 #endif /* EOWATCHER_H_ */
57 
The minimal Interface for an eoWatcher class.
Definition: eoIWatcher.h:28
Interface for storing.
Definition: eoISerialize.h:48
every Communication from an EnOcean Device to another one consist out of one more Telegrams...
Definition: eoTelegram.h:43
uint8_t type
Type of the eoIWatcher, this is used for the serialization.
Definition: eoIWatcher.h:32
a class to describe an EnOcean Device
Definition: eoDevice.h:49
eoDevice
virtual uint8_t Serialize(eoArchive &arch)
virtual uint32_t CheckSecurity(eoDevice const *const device, eoTelegram const &tel)
checks the Security of a Device after Receiving a telegram.
the base Archive
Definition: eoArchive.h:46