EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros | Functions | Variables
EnigmaIOTNode.cpp File Reference

Library to build a node for EnigmaIoT system. More...

#include <Arduino.h>
#include "EnigmaIOTNode.h"
#include "timeManager.h"
#include <FS.h>
#include <MD5Builder.h>
#include <StreamString.h>
#include <ArduinoJson.h>
#include <regex>

Go to the source code of this file.

Macros

#define CHMSG_LEN   sizeof(clientHello_msg)
 
#define SHMSG_LEN   sizeof(serverHello_msg)
 
#define IKMSG_LEN   2
 

Functions

void clearRtcData (rtcmem_data_t *data)
 
void dumpRtcData (rtcmem_data_t *data, uint8_t *gateway=NULL)
 
void flashLed (void *led)
 
void startFlash (time_t period)
 
void stopFlash ()
 

Variables

const char CONFIG_FILE [] = "/config.json"
 
int localLed = -1
 
bool nodeConnectionLedFlashing = false
 
EnigmaIOTNodeClass EnigmaIOTNode
 

Detailed Description

Library to build a node for EnigmaIoT system.

Version
0.9.8
Date
15/07/2021
Author
German Martin

Definition in file EnigmaIOTNode.cpp.

Macro Definition Documentation

◆ CHMSG_LEN

#define CHMSG_LEN   sizeof(clientHello_msg)

◆ IKMSG_LEN

#define IKMSG_LEN   2

◆ SHMSG_LEN

#define SHMSG_LEN   sizeof(serverHello_msg)

Function Documentation

◆ clearRtcData()

void clearRtcData ( rtcmem_data_t data)

Definition at line 98 of file EnigmaIOTNode.cpp.

◆ dumpRtcData()

void dumpRtcData ( rtcmem_data_t data,
uint8_t *  gateway = NULL 
)

Definition at line 113 of file EnigmaIOTNode.cpp.

◆ flashLed()

void flashLed ( void *  led)

Definition at line 617 of file EnigmaIOTNode.cpp.

◆ startFlash()

void startFlash ( time_t  period)

Definition at line 627 of file EnigmaIOTNode.cpp.

◆ stopFlash()

void stopFlash ( )

Definition at line 647 of file EnigmaIOTNode.cpp.

Variable Documentation

◆ CONFIG_FILE

const char CONFIG_FILE[] = "/config.json"

Definition at line 27 of file EnigmaIOTNode.cpp.

◆ EnigmaIOTNode

EnigmaIOTNodeClass EnigmaIOTNode

Definition at line 2719 of file EnigmaIOTNode.cpp.

◆ localLed

int localLed = -1

Definition at line 29 of file EnigmaIOTNode.cpp.

◆ nodeConnectionLedFlashing

bool nodeConnectionLedFlashing = false

Definition at line 37 of file EnigmaIOTNode.cpp.