mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
changed ESPNOW to ESPNow
for aesthetic reasons
This commit is contained in:
parent
6a005e2ecf
commit
d7ffd8bb29
@ -10,7 +10,7 @@
|
||||
#define UNIT_MAC 0x00 // The address of this gateway
|
||||
|
||||
// Actions -- Define what happens when a packet arrives at each interface:
|
||||
// Current function options are: sendESPNOW(MAC), sendSerial(), sendMQTT(),
|
||||
// Current function options are: sendESPNow(MAC), sendSerial(), sendMQTT(),
|
||||
// bufferLoRa(interface), bufferESPNOW(interface), bufferSerial(), and bufferMQTT().
|
||||
|
||||
#define ESPNOWG_ACT
|
||||
|
@ -9,11 +9,11 @@
|
||||
#define UNIT_MAC 0x01 // The address of this gateway
|
||||
|
||||
// Actions -- Define what happens when a packet arrives at each interface:
|
||||
// Current function options are: sendESPNOW(MAC), sendSerial(), sendMQTT(),
|
||||
// Current function options are: sendESPNow(MAC), sendSerial(), sendMQTT(),
|
||||
// bufferLoRa(interface), bufferESPNOW(interface), bufferSerial(), and bufferMQTT().
|
||||
|
||||
#define ESPNOWG_ACT sendSerial();
|
||||
#define SERIAL_ACT sendESPNOW(0x02); bufferLoRa(1); sendESPNOWpeers();
|
||||
#define SERIAL_ACT sendESPNow(0x02); bufferLoRa(1); sendESPNowPeers();
|
||||
#define MQTT_ACT
|
||||
#define LORAG_ACT sendSerial();
|
||||
// Neighbor Actions
|
||||
|
@ -10,10 +10,10 @@
|
||||
#define UNIT_MAC 0x02 // The address of this gateway
|
||||
|
||||
// Actions -- Define what happens when a packet arrives at each interface:
|
||||
// Current function options are: sendESPNOW(MAC), sendSerial(), sendMQTT(),
|
||||
// Current function options are: sendESPNow(MAC), sendSerial(), sendMQTT(),
|
||||
// bufferLoRa(interface), bufferESPNOW(interface), bufferSerial(), and bufferMQTT().
|
||||
|
||||
#define ESPNOWG_ACT sendESPNOW(0x01);
|
||||
#define ESPNOWG_ACT sendESPNow(0x01);
|
||||
#define SERIAL_ACT
|
||||
#define MQTT_ACT
|
||||
#define LORAG_ACT
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define UNIT_MAC 0x03 // The address of this gateway
|
||||
|
||||
// Actions -- Define what happens when a packet arrives at each interface:
|
||||
// Current function options are: sendESPNOW(MAC), sendSerial(), sendMQTT(),
|
||||
// Current function options are: sendESPNow(MAC), sendSerial(), sendMQTT(),
|
||||
// bufferLoRa(interface), bufferESPNOW(interface), bufferSerial(), and bufferMQTT().
|
||||
|
||||
#define ESPNOWG_ACT bufferLoRa(1);
|
||||
|
@ -231,7 +231,7 @@ void pingback_espnow()
|
||||
|
||||
|
||||
|
||||
void sendESPNOWpeers()
|
||||
void sendESPNowPeers()
|
||||
{
|
||||
#ifdef USE_ESPNOW
|
||||
DBG("Sending to ESP-NOW peers.");
|
||||
@ -251,7 +251,7 @@ void sendESPNOWpeers()
|
||||
#endif // USE_ESPNOW
|
||||
}
|
||||
|
||||
void sendESPNOW(uint8_t address)
|
||||
void sendESPNow(uint8_t address)
|
||||
{
|
||||
#ifdef USE_ESPNOW
|
||||
DBG("Sending ESP-NOW.");
|
||||
|
Loading…
Reference in New Issue
Block a user