#include <Arduino.h>
#include "GwOutput_mqtt.h"
#include <WiFiClient.h>
#include <ArduinoOTA.h>
#include <CayenneLPP.h>
#include <EnigmaIOTGateway.h>
#include <helperFunctions.h>
#include <EnigmaIOTdebug.h>
#include <espnow_hal.h>
#include <ArduinoJson.h>
#include <ESPAsyncWiFiManager.h>
Go to the source code of this file.
|
void | flashConnectionLed (void *led) |
|
void | startConnectionFlash (int period) |
|
void | stopConnectionFlash () |
|
void | arduinoOTAConfigure () |
|
void | wifiManagerExit (boolean status) |
|
void | wifiManagerStarted () |
|
void | processRxControlData (char *macStr, uint8_t *data, uint8_t length) |
|
void | doRestart () |
|
void | processRxData (uint8_t *mac, uint8_t *buffer, uint8_t length, uint16_t lostMessages, bool control, gatewayPayloadEncoding_t payload_type, char *nodeName=NULL) |
|
void | onDownlinkData (uint8_t *address, char *nodeName, control_message_type_t msgType, char *data, unsigned int len) |
|
void | newNodeConnected (uint8_t *mac, uint16_t node_id, char *nodeName=nullptr) |
|
void | nodeDisconnected (uint8_t *mac, gwInvalidateReason_t reason) |
|
void | setup () |
|
void | loop () |
|
◆ BLUE_LED
◆ LED_BUILTIN
◆ RED_LED
◆ arduinoOTAConfigure()
void arduinoOTAConfigure |
( |
| ) |
|
◆ doRestart()
◆ flashConnectionLed()
void flashConnectionLed |
( |
void * |
led | ) |
|
◆ loop()
◆ newNodeConnected()
void newNodeConnected |
( |
uint8_t * |
mac, |
|
|
uint16_t |
node_id, |
|
|
char * |
nodeName = nullptr |
|
) |
| |
◆ nodeDisconnected()
◆ onDownlinkData()
void onDownlinkData |
( |
uint8_t * |
address, |
|
|
char * |
nodeName, |
|
|
control_message_type_t |
msgType, |
|
|
char * |
data, |
|
|
unsigned int |
len |
|
) |
| |
◆ processRxControlData()
void processRxControlData |
( |
char * |
macStr, |
|
|
uint8_t * |
data, |
|
|
uint8_t |
length |
|
) |
| |
◆ processRxData()
void processRxData |
( |
uint8_t * |
mac, |
|
|
uint8_t * |
buffer, |
|
|
uint8_t |
length, |
|
|
uint16_t |
lostMessages, |
|
|
bool |
control, |
|
|
gatewayPayloadEncoding_t |
payload_type, |
|
|
char * |
nodeName = NULL |
|
) |
| |
◆ setup()
◆ startConnectionFlash()
void startConnectionFlash |
( |
int |
period | ) |
|
◆ stopConnectionFlash()
void stopConnectionFlash |
( |
| ) |
|
◆ wifiManagerExit()
void wifiManagerExit |
( |
boolean |
status | ) |
|
◆ wifiManagerStarted()
void wifiManagerStarted |
( |
| ) |
|
◆ connectionLed
◆ connectionLedFlashing
bool connectionLedFlashing = false |
◆ restartRequested
bool restartRequested = false |
◆ restartRequestTime
time_t restartRequestTime |