Ignore:
Timestamp:
Jun 28, 2019, 1:42:31 AM (7 years ago)
Author:
markus
Message:

Prototype for network based monitoring

Location:
trunk/Arduino/libraries/ot_slave_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Arduino/libraries/ot_slave_2/ot_slave_2.cpp

    r7 r8  
    66OpenthermData  OT_V2R2_Slave::message;
    77
    8 OT_V2R2_Slave::OT_V2R2_Slave ()
     8OT_V2R2_Slave::OT_V2R2_Slave (OT_Data_CB cb)
    99:
     10  cbPostReq(cb),
    1011  chEnable(false),
    1112  chActive(false),
  • trunk/Arduino/libraries/ot_slave_2/ot_slave_2.h

    r7 r8  
    55#include <opentherm.h>
    66
     7typedef void (*OT_Data_CB)(const OpenthermData&);
     8
    79class OT_V2R2_Slave {
    810
    911protected:
    1012  static OpenthermData  message;
     13  OT_Data_CB            cbPostReq;
    1114  bool                  chEnable;
    1215  bool                  chActive;
    … …  
    1821
    1922public:
    20   OT_V2R2_Slave ();
     23  OT_V2R2_Slave (OT_Data_CB cbPostReq = 0);
    2124
    2225  virtual void  Setup ();
Note: See TracChangeset for help on using the changeset viewer.