Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
557 B

  1. /*
  2. RF BRIDGE MODULE
  3. Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
  4. */
  5. #pragma once
  6. #include "espurna.h"
  7. #if RFB_SUPPORT
  8. #include "broker.h"
  9. BrokerDeclare(RfbridgeBroker, void(unsigned char protocol, const char* code));
  10. void rfbStatus(unsigned char id, bool status);
  11. void rfbLearn(unsigned char id, bool status);
  12. String rfbRetrieve(unsigned char id, bool status);
  13. void rfbStore(unsigned char id, bool status, const char * code);
  14. void rfbForget(unsigned char id, bool status);
  15. void rfbSetup();
  16. #endif // RFB_SUPPORT == 1