NodePrefs.h 424 B

12345678910111213141516171819202122
  1. #ifndef NODE_PREFS_H
  2. #define NODE_PREFS_H
  3. #include <cstdint> // For uint8_t, uint32_t
  4. struct NodePrefs { // persisted to file
  5. float airtime_factor;
  6. char node_name[32];
  7. double node_lat, node_lon;
  8. float freq;
  9. uint8_t sf;
  10. uint8_t cr;
  11. uint8_t reserved1;
  12. uint8_t manual_add_contacts;
  13. float bw;
  14. uint8_t tx_power_dbm;
  15. uint8_t unused[3];
  16. float rx_delay_base;
  17. uint32_t ble_pin;
  18. };
  19. #endif // NODE_PREFS_H