EnigmaIOT  0.9.3
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros | Functions | Variables
enigmaiot_node_nonsleepy.ino File Reference

Node based on EnigmaIoT over ESP-NOW, in non sleeping mode. More...

#include <Arduino.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>
#include <FS.h>

Go to the source code of this file.

Macros

#define LED_BUILTIN   2
 
#define BLUE_LED   LED_BUILTIN
 

Functions

void connectEventHandler ()
 
void disconnectEventHandler (nodeInvalidateReason_t reason)
 
void processRxData (const uint8_t *mac, const uint8_t *buffer, uint8_t length, nodeMessageType_t command, nodePayloadEncoding_t payloadEncoding)
 
void setup ()
 
void showTime ()
 
void loop ()
 

Variables

constexpr auto RESET_PIN = -1
 

Detailed Description

Node based on EnigmaIoT over ESP-NOW, in non sleeping mode.

Version
0.9.3
Date
14/07/2020
Author
German Martin Sensor reading code is mocked on this example. You can implement any other code you need for your specific need

Definition in file enigmaiot_node_nonsleepy.ino.

Macro Definition Documentation

◆ BLUE_LED

#define BLUE_LED   LED_BUILTIN

Definition at line 48 of file enigmaiot_node_nonsleepy.ino.

◆ LED_BUILTIN

#define LED_BUILTIN   2

Definition at line 45 of file enigmaiot_node_nonsleepy.ino.

Function Documentation

◆ connectEventHandler()

void connectEventHandler ( )

Definition at line 54 of file enigmaiot_node_nonsleepy.ino.

◆ disconnectEventHandler()

void disconnectEventHandler ( nodeInvalidateReason_t  reason)

Definition at line 58 of file enigmaiot_node_nonsleepy.ino.

◆ loop()

void loop ( )

Definition at line 166 of file enigmaiot_node_nonsleepy.ino.

◆ processRxData()

void processRxData ( const uint8_t *  mac,
const uint8_t *  buffer,
uint8_t  length,
nodeMessageType_t  command,
nodePayloadEncoding_t  payloadEncoding 
)

Definition at line 62 of file enigmaiot_node_nonsleepy.ino.

◆ setup()

void setup ( )

Definition at line 101 of file enigmaiot_node_nonsleepy.ino.

◆ showTime()

void showTime ( )

Definition at line 137 of file enigmaiot_node_nonsleepy.ino.

Variable Documentation

◆ RESET_PIN

constexpr auto RESET_PIN = -1
constexpr

Definition at line 48 of file enigmaiot_node_nonsleepy.ino.