mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
couple more things
This commit is contained in:
parent
0039596ada
commit
8f4f4ee149
@ -13,13 +13,14 @@
|
||||
|
||||
#define ESPNOWG_ACT
|
||||
#define SERIAL_ACT sendMQTT();
|
||||
#define MQTT_ACT
|
||||
#define MQTT_ACT sendSerial();
|
||||
#define LORAG_ACT
|
||||
|
||||
// protocols -- Define which protocols the gateways should handle.
|
||||
// Warning: ESP-NOW and WiFi are mutual exclusive!
|
||||
//#define USE_LORA
|
||||
// Protocols -- Define which protocols the gateway will use.
|
||||
// Warning: ESP-NOW and WiFi should not be used simultaneously.
|
||||
|
||||
//#define USE_ESPNOW
|
||||
//#define USE_LORA
|
||||
#define USE_WIFI //Used only for MQTT gateway
|
||||
|
||||
// Peer addresses
|
||||
|
@ -24,13 +24,13 @@
|
||||
//#define USE_WIFI //Used only for MQTT gateway
|
||||
|
||||
// Peer addresses
|
||||
#define ESPNOW1_PEER 0x0E // ESPNOW1 Address
|
||||
#define ESPNOW1_PEER 0x01 // ESPNOW1 Address
|
||||
#define ESPNOW2_PEER 0x0F // ESPNOW2 Address
|
||||
#define LORA1_PEER 0x0E // LoRa1 Address
|
||||
#define LORA2_PEER 0x0F // LoRa2 Address
|
||||
|
||||
// Peer Actions
|
||||
#define ESPNOW1_ACT
|
||||
#define ESPNOW1_ACT sendSerial(); // This would display packets arriving *from* the front-end.
|
||||
#define ESPNOW2_ACT
|
||||
#define LORA1_ACT
|
||||
#define LORA2_ACT
|
||||
|
@ -24,15 +24,15 @@
|
||||
//#define USE_WIFI //Used only for MQTT gateway
|
||||
|
||||
// Peer addresses
|
||||
#define ESPNOW1_PEER 0x01 // ESPNOW1 Address
|
||||
#define ESPNOW1_PEER 0x0E // ESPNOW1 Address
|
||||
#define ESPNOW2_PEER 0x0F // ESPNOW2 Address
|
||||
#define LORA1_PEER 0x0E // LoRa1 Address
|
||||
#define LORA1_PEER 0x01 // LoRa1 Address
|
||||
#define LORA2_PEER 0x0F // LoRa2 Address
|
||||
|
||||
// Peer Actions
|
||||
#define ESPNOW1_ACT
|
||||
#define ESPNOW1_ACT
|
||||
#define ESPNOW2_ACT
|
||||
#define LORA1_ACT
|
||||
#define LORA1_ACT sendSerial(); // This would display packets arriving *from* the front-end.
|
||||
#define LORA2_ACT
|
||||
|
||||
//Pins for UART data interface (ESP32 only)
|
||||
|
Loading…
Reference in New Issue
Block a user