|
EnigmaIOT
0.9.3
Secure sensor and gateway platform based on ESP8266 and ESP32
|
Gateway based on EnigmaIoT over ESP-NOW with dummy output module to serve as start for new gateways. More...
#include <Arduino.h>#include <GwOutput_generic.h>#include "GwOutput_dummy.h"#include <CayenneLPP.h>#include <FS.h>#include <EnigmaIOTGateway.h>#include <helperFunctions.h>#include <debug.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 |
Gateway based on EnigmaIoT over ESP-NOW with dummy output module to serve as start for new gateways.
Definition in file EnigmaIOTGatewayDummy.ino.
| #define BLUE_LED BUILTIN_LED |
Definition at line 53 of file EnigmaIOTGatewayDummy.ino.
| #define BUILTIN_LED 5 |
Definition at line 50 of file EnigmaIOTGatewayDummy.ino.
| #define RED_LED BUILTIN_LED |
Definition at line 54 of file EnigmaIOTGatewayDummy.ino.
| void flashConnectionLed | ( | void * | led | ) |
Definition at line 64 of file EnigmaIOTGatewayDummy.ino.
| void loop | ( | ) |
Definition at line 317 of file EnigmaIOTGatewayDummy.ino.
| void newNodeConnected | ( | uint8_t * | mac, |
| uint16_t | node_id, | ||
| char * | nodeName = NULL |
||
| ) |
Definition at line 203 of file EnigmaIOTGatewayDummy.ino.
| void nodeDisconnected | ( | uint8_t * | mac, |
| gwInvalidateReason_t | reason | ||
| ) |
Definition at line 222 of file EnigmaIOTGatewayDummy.ino.
| void onDownlinkData | ( | uint8_t * | address, |
| char * | nodeName, | ||
| control_message_type_t | msgType, | ||
| char * | data, | ||
| unsigned int | len | ||
| ) |
Definition at line 179 of file EnigmaIOTGatewayDummy.ino.
| void processRxControlData | ( | char * | macStr, |
| uint8_t * | data, | ||
| uint8_t | length | ||
| ) |
Definition at line 109 of file EnigmaIOTGatewayDummy.ino.
| 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 115 of file EnigmaIOTGatewayDummy.ino.
| void setup | ( | ) |
Definition at line 252 of file EnigmaIOTGatewayDummy.ino.
| void startConnectionFlash | ( | int | period | ) |
Definition at line 69 of file EnigmaIOTGatewayDummy.ino.
| void stopConnectionFlash | ( | ) |
Definition at line 85 of file EnigmaIOTGatewayDummy.ino.
| void wifiManagerExit | ( | boolean | status | ) |
Definition at line 101 of file EnigmaIOTGatewayDummy.ino.
| void wifiManagerStarted | ( | ) |
Definition at line 105 of file EnigmaIOTGatewayDummy.ino.
| const int connectionLed = BUILTIN_LED |
Definition at line 61 of file EnigmaIOTGatewayDummy.ino.
| boolean connectionLedFlashing = false |
Definition at line 62 of file EnigmaIOTGatewayDummy.ino.
1.8.18