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.

29 lines
412 B

  1. /*
  2. RFM69 MODULE
  3. Copyright (C) 2016-2017 by Xose Pérez <xose dot perez at gmail dot com>
  4. */
  5. #pragma once
  6. struct packet_t;
  7. #if RFM69_SUPPORT
  8. #include "libs/RFM69Wrap.h"
  9. struct packet_t {
  10. unsigned long messageID;
  11. unsigned char packetID;
  12. unsigned char senderID;
  13. unsigned char targetID;
  14. char * key;
  15. char * value;
  16. int16_t rssi;
  17. };
  18. void rfm69Setup();
  19. #endif // RFM69_SUPPORT == 1