EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros | Functions | Variables
enigmaiot_led_flasher.cpp File Reference
#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_ON   LOW
 
#define LED_OFF   !LED_ON
 
#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 loop ()
 

Variables

constexpr auto RESET_PIN = -1
 

Macro Definition Documentation

◆ BLUE_LED

#define BLUE_LED   LED_BUILTIN

Definition at line 46 of file enigmaiot_led_flasher.cpp.

◆ LED_BUILTIN

#define LED_BUILTIN   2

Definition at line 43 of file enigmaiot_led_flasher.cpp.

◆ LED_OFF

#define LED_OFF   !LED_ON

Definition at line 40 of file enigmaiot_led_flasher.cpp.

◆ LED_ON

#define LED_ON   LOW

Definition at line 39 of file enigmaiot_led_flasher.cpp.

Function Documentation

◆ connectEventHandler()

void connectEventHandler ( )

Definition at line 53 of file enigmaiot_led_flasher.cpp.

◆ disconnectEventHandler()

void disconnectEventHandler ( nodeInvalidateReason_t  reason)

Definition at line 57 of file enigmaiot_led_flasher.cpp.

◆ loop()

void loop ( )

Definition at line 137 of file enigmaiot_led_flasher.cpp.

◆ processRxData()

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

Definition at line 61 of file enigmaiot_led_flasher.cpp.

◆ setup()

void setup ( )

Definition at line 100 of file enigmaiot_led_flasher.cpp.

Variable Documentation

◆ RESET_PIN

constexpr auto RESET_PIN = -1
constexpr

Definition at line 47 of file enigmaiot_led_flasher.cpp.