EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros | Functions | Variables
enigmaiot_node.cpp File Reference
#include <Arduino.h>
#include <EnigmaIOTNode.h>
#include <espnow_hal.h>
#include <CayenneLPP.h>
#include <ArduinoJson.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 loop ()
 

Variables

constexpr auto RESET_PIN = -1
 

Macro Definition Documentation

◆ BLUE_LED

#define BLUE_LED   LED_BUILTIN

Definition at line 32 of file enigmaiot_node.cpp.

◆ LED_BUILTIN

#define LED_BUILTIN   2

Definition at line 29 of file enigmaiot_node.cpp.

Function Documentation

◆ connectEventHandler()

void connectEventHandler ( )

Definition at line 39 of file enigmaiot_node.cpp.

◆ disconnectEventHandler()

void disconnectEventHandler ( nodeInvalidateReason_t  reason)

Definition at line 43 of file enigmaiot_node.cpp.

◆ loop()

void loop ( )

Definition at line 155 of file enigmaiot_node.cpp.

◆ processRxData()

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

Definition at line 47 of file enigmaiot_node.cpp.

◆ setup()

void setup ( )

Definition at line 86 of file enigmaiot_node.cpp.

Variable Documentation

◆ RESET_PIN

constexpr auto RESET_PIN = -1
constexpr

Definition at line 33 of file enigmaiot_node.cpp.