knx
ETS configurable knx-stack
bau27B0.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "config.h"
4 #if MASK_VERSION == 0x27B0
5 
6 #include "bau_systemB_device.h"
7 #include "rf_medium_object.h"
8 #if defined(DeviceFamily_CC13X0)
10 #else
12 #endif
13 #include "rf_data_link_layer.h"
14 #include "cemi_server.h"
15 #include "cemi_server_object.h"
16 
17 class Bau27B0 : public BauSystemBDevice
18 {
19  public:
21  void loop() override;
22  bool enabled() override;
23  void enabled(bool value) override;
24 
26  protected:
28  InterfaceObject* getInterfaceObject(ObjectType objectType, uint16_t objectInstance);
29 
30  void doMasterReset(EraseCode eraseCode, uint8_t channel) override;
31  private:
32  RfDataLinkLayer _dlLayer;
33  RfMediumObject _rfMediumObj;
34 #ifdef USE_CEMI_SERVER
35  CemiServer _cemiServer;
36  CemiServerObject _cemiServerObject;
37 #endif
38 
39  void domainAddressSerialNumberWriteIndication(Priority priority, HopCountType hopType, const SecurityControl& secCtrl, const uint8_t* rfDoA,
40  const uint8_t* knxSerialNumber) override;
41  void domainAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, const SecurityControl& secCtrl, const uint8_t* knxSerialNumber) override;
42  void individualAddressSerialNumberReadIndication(Priority priority, HopCountType hopType, const SecurityControl& secCtrl, uint8_t* knxSerialNumber) override;
43  void domainAddressSerialNumberWriteLocalConfirm(Priority priority, HopCountType hopType, const SecurityControl& secCtrl, const uint8_t* rfDoA,
44  const uint8_t* knxSerialNumber, bool status) override;
45  void domainAddressSerialNumberReadLocalConfirm(Priority priority, HopCountType hopType, const SecurityControl& secCtrl, const uint8_t* knxSerialNumber, bool status) override;
46 };
47 #endif
RfDataLinkLayer * getDataLinkLayer()
Definition: bau27B0.cpp:203
bool enabled() override
Definition: bau27B0.cpp:153
InterfaceObject * getInterfaceObject(uint8_t idx)
void loop() override
Definition: bau27B0.cpp:163
Bau27B0(Platform &platform)
Definition: bau27B0.cpp:11
void doMasterReset(EraseCode eraseCode, uint8_t channel) override
Definition: bau27B0.cpp:145
Platform & platform()
Definition: bau_systemB.cpp:34
This is an implementation of the cEMI server as specified in .
Definition: cemi_server.h:23
This class represents and interface object.
ObjectType
Enum for the type of an interface object.
HopCountType
Definition: knx_types.h:124
Priority
Definition: knx_types.h:10
EraseCode
Definition: knx_types.h:242