Wrap fdrs globals from src/fdrs_globals.h to allow for project specific

settings.

Adding #define __FDRS_GLOBALS_h__.
pull/176/head
Christoph Appel 1 year ago
parent d2c2b2a4b8
commit 103325d29b

@ -3,7 +3,8 @@
// Global Configuration
// Developed by Timm Bogner (timmbogner@gmail.com) in Urbana, Illinois, USA.
#ifndef __FDRS_GLOBALS_h__
#define __FDRS_GLOBALS_h__
#define GLOBAL_WIFI_SSID "Your SSID"
#define GLOBAL_WIFI_PASS "Password"
@ -11,7 +12,7 @@
#define GLOBAL_MQTT_ADDR "192.168.0.8"
#define GLOBAL_MQTT_PORT 1883
//#define GLOBAL_MQTT_AUTH //uncomment to enable MQTT authentication
//#define GLOBAL_MQTT_AUTH //uncomment to enable MQTT authentication
#define GLOBAL_MQTT_USER "Your MQTT Username"
#define GLOBAL_MQTT_PASS "Your MQTT Password"
// MQTT Topics
@ -27,4 +28,6 @@
#define GLOBAL_LORA_SYNCWORD 0x12 // LoRa sync word. Can be used to distinguish different LoRa networks. Note that 0x34 is reserved for LoRaWAN.
#define GLOBAL_LORA_INTERVAL 5000 // Interval between LoRa buffer releases. Must be longer than transmission time-on-air.
#define MAC_PREFIX 0xAA, 0xBB, 0xCC, 0xDD, 0xEE // MAC address prefix. Can be used to distinguish different ESP-NOW networks.
#define MAC_PREFIX 0xAA, 0xBB, 0xCC, 0xDD, 0xEE // MAC address prefix. Can be used to distinguish different ESP-NOW networks.
#endif

Loading…
Cancel
Save