EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros | Functions | Variables
EnigmaIOTGatewayDummy.cpp File Reference
#include <Arduino.h>
#include <GwOutput_generic.h>
#include "GwOutput_dummy.h"
#include <CayenneLPP.h>
#include <FS.h>
#include <EnigmaIOTGateway.h>
#include <helperFunctions.h>
#include <EnigmaIOTdebug.h>
#include <espnow_hal.h>
#include <Curve25519.h>
#include <ChaChaPoly.h>
#include <Poly1305.h>
#include <SHA256.h>
#include <ArduinoJson.h>
#include <DNSServer.h>
#include <ESPAsyncWebServer.h>
#include <ESPAsyncWiFiManager.h>

Go to the source code of this file.

Macros

#define BUILTIN_LED   5
 
#define BLUE_LED   BUILTIN_LED
 
#define RED_LED   BUILTIN_LED
 

Functions

void flashConnectionLed (void *led)
 
void startConnectionFlash (int period)
 
void stopConnectionFlash ()
 
void wifiManagerExit (boolean status)
 
void wifiManagerStarted ()
 
void processRxControlData (char *macStr, uint8_t *data, uint8_t length)
 
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=NULL)
 
void nodeDisconnected (uint8_t *mac, gwInvalidateReason_t reason)
 
void setup ()
 
void loop ()
 

Variables

const int connectionLed = BUILTIN_LED
 
boolean connectionLedFlashing = false
 

Macro Definition Documentation

◆ BLUE_LED

#define BLUE_LED   BUILTIN_LED

Definition at line 53 of file EnigmaIOTGatewayDummy.cpp.

◆ BUILTIN_LED

#define BUILTIN_LED   5

Definition at line 50 of file EnigmaIOTGatewayDummy.cpp.

◆ RED_LED

#define RED_LED   BUILTIN_LED

Definition at line 54 of file EnigmaIOTGatewayDummy.cpp.

Function Documentation

◆ flashConnectionLed()

void flashConnectionLed ( void *  led)

Definition at line 65 of file EnigmaIOTGatewayDummy.cpp.

◆ loop()

void loop ( )

Definition at line 319 of file EnigmaIOTGatewayDummy.cpp.

◆ newNodeConnected()

void newNodeConnected ( uint8_t *  mac,
uint16_t  node_id,
char *  nodeName = NULL 
)

Definition at line 205 of file EnigmaIOTGatewayDummy.cpp.

◆ nodeDisconnected()

void nodeDisconnected ( uint8_t *  mac,
gwInvalidateReason_t  reason 
)

Definition at line 224 of file EnigmaIOTGatewayDummy.cpp.

◆ onDownlinkData()

void onDownlinkData ( uint8_t *  address,
char *  nodeName,
control_message_type_t  msgType,
char *  data,
unsigned int  len 
)

Definition at line 180 of file EnigmaIOTGatewayDummy.cpp.

◆ processRxControlData()

void processRxControlData ( char *  macStr,
uint8_t *  data,
uint8_t  length 
)

Definition at line 110 of file EnigmaIOTGatewayDummy.cpp.

◆ processRxData()

void processRxData ( uint8_t *  mac,
uint8_t *  buffer,
uint8_t  length,
uint16_t  lostMessages,
bool  control,
gatewayPayloadEncoding_t  payload_type,
char *  nodeName = NULL 
)

Definition at line 116 of file EnigmaIOTGatewayDummy.cpp.

◆ setup()

void setup ( )

Definition at line 254 of file EnigmaIOTGatewayDummy.cpp.

◆ startConnectionFlash()

void startConnectionFlash ( int  period)

Definition at line 70 of file EnigmaIOTGatewayDummy.cpp.

◆ stopConnectionFlash()

void stopConnectionFlash ( )

Definition at line 86 of file EnigmaIOTGatewayDummy.cpp.

◆ wifiManagerExit()

void wifiManagerExit ( boolean  status)

Definition at line 102 of file EnigmaIOTGatewayDummy.cpp.

◆ wifiManagerStarted()

void wifiManagerStarted ( )

Definition at line 106 of file EnigmaIOTGatewayDummy.cpp.

Variable Documentation

◆ connectionLed

const int connectionLed = BUILTIN_LED

Definition at line 62 of file EnigmaIOTGatewayDummy.cpp.

◆ connectionLedFlashing

boolean connectionLedFlashing = false

Definition at line 63 of file EnigmaIOTGatewayDummy.cpp.