changed ESPNOW to ESPNow

for aesthetic reasons
This commit is contained in:
Timm Bogner 2023-01-26 22:22:44 -06:00
parent 6a005e2ecf
commit d7ffd8bb29
5 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -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.");