|
EnigmaIOT
0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
|
#include <Arduino.h>#include <EnigmaIOTjsonController.h>#include <FailSafe.h>#include "ButtonController.h"#include <EnigmaIOTNode.h>#include <espnow_hal.h>#include <CayenneLPP.h>#include <ArduinoJson.h>#include <Curve25519.h>#include <ESPAsyncWebServer.h>#include <ESPAsyncWiFiManager.h>#include <DNSServer.h>Go to the source code of this file.
Macros | |
| #define | SLEEPY 0 |
| #define | LED_BUILTIN 2 |
| #define | USE_SERIAL |
| #define | BLUE_LED LED_BUILTIN |
| #define | RESET_PIN 5 |
Functions | |
| void | connectEventHandler () |
| void | disconnectEventHandler (nodeInvalidateReason_t reason) |
| bool | sendUplinkData (const uint8_t *data, size_t len, nodePayloadEncoding_t payloadEncoding, dataMessageType_t dataMsgType) |
| void | processRxData (const uint8_t *mac, const uint8_t *buffer, uint8_t length, nodeMessageType_t command, nodePayloadEncoding_t payloadEncoding) |
| void | wifiManagerExit (boolean status) |
| void | wifiManagerStarted () |
| void | setup () |
| void | loop () |
Variables | |
| EnigmaIOTjsonController * | controller |
| const time_t | BOOT_FLAG_TIMEOUT = 10000 |
| const int | MAX_CONSECUTIVE_BOOT = 3 |
| const int | LED = LED_BUILTIN |
| const int | FAILSAFE_RTC_ADDRESS = 0 |
| #define BLUE_LED LED_BUILTIN |
Definition at line 49 of file EnigmaIOT-Button-Controller.cpp.
| #define LED_BUILTIN 2 |
Definition at line 43 of file EnigmaIOT-Button-Controller.cpp.
| #define RESET_PIN 5 |
Definition at line 53 of file EnigmaIOT-Button-Controller.cpp.
| #define SLEEPY 0 |
Definition at line 40 of file EnigmaIOT-Button-Controller.cpp.
| #define USE_SERIAL |
Definition at line 47 of file EnigmaIOT-Button-Controller.cpp.
| void connectEventHandler | ( | ) |
Definition at line 61 of file EnigmaIOT-Button-Controller.cpp.
| void disconnectEventHandler | ( | nodeInvalidateReason_t | reason | ) |
Definition at line 67 of file EnigmaIOT-Button-Controller.cpp.
| void loop | ( | ) |
Definition at line 157 of file EnigmaIOT-Button-Controller.cpp.
| void processRxData | ( | const uint8_t * | mac, |
| const uint8_t * | buffer, | ||
| uint8_t | length, | ||
| nodeMessageType_t | command, | ||
| nodePayloadEncoding_t | payloadEncoding | ||
| ) |
Definition at line 83 of file EnigmaIOT-Button-Controller.cpp.
| bool sendUplinkData | ( | const uint8_t * | data, |
| size_t | len, | ||
| nodePayloadEncoding_t | payloadEncoding, | ||
| dataMessageType_t | dataMsgType | ||
| ) |
Definition at line 72 of file EnigmaIOT-Button-Controller.cpp.
| void setup | ( | ) |
Definition at line 101 of file EnigmaIOT-Button-Controller.cpp.
| void wifiManagerExit | ( | boolean | status | ) |
Definition at line 92 of file EnigmaIOT-Button-Controller.cpp.
| void wifiManagerStarted | ( | ) |
Definition at line 97 of file EnigmaIOT-Button-Controller.cpp.
| const time_t BOOT_FLAG_TIMEOUT = 10000 |
Definition at line 55 of file EnigmaIOT-Button-Controller.cpp.
| EnigmaIOTjsonController* controller |
Definition at line 51 of file EnigmaIOT-Button-Controller.cpp.
| const int FAILSAFE_RTC_ADDRESS = 0 |
Definition at line 58 of file EnigmaIOT-Button-Controller.cpp.
| const int LED = LED_BUILTIN |
Definition at line 57 of file EnigmaIOT-Button-Controller.cpp.
| const int MAX_CONSECUTIVE_BOOT = 3 |
Definition at line 56 of file EnigmaIOT-Button-Controller.cpp.