couple more things

This commit is contained in:
Timm Bogner 2022-08-02 22:49:00 -05:00
parent 0039596ada
commit 8f4f4ee149
3 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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)