timmbogner / Farm-Data-Relay-System

A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
MIT License
485 stars 108 forks source link

Add more neighbors to ESP-NOW and LoRa #226

Open timmbogner opened 6 days ago

timmbogner commented 6 days ago

Introducing our newest neighbors: ESPNOW_NEIGHBOR_0 and ESPNOW_NEIGHBOR_3!

I have not actually tested this on devices, just ensured it compiled. Replace the existing ESP-NOW neighbor configs with the following.

#define ESPNOW_NEIGHBOR_0  0x00  // Address of ESP-NOW Neighbor #0
#define ESPNOW_NEIGHBOR_1  0x00  // Address of ESP-NOW Neighbor #1
#define ESPNOW_NEIGHBOR_2  0x02  // Address of ESP-NOW Neighbor #2
#define ESPNOW_NEIGHBOR_3  0x00  // Address of ESP-NOW Neighbor #3

I'm excited to test it tomorrow!