EnigmaIOT  0.9.3
Secure sensor and gateway platform based on ESP8266 and ESP32
Public Attributes | List of all members
node_instance Struct Reference

Struct that define node fields. Used for long term storage needs. More...

#include <NodeList.h>

Public Attributes

uint8_t mac [ENIGMAIOT_ADDR_LEN]
 Node address. More...
 
uint16_t nodeId
 Node identifier asigned by gateway. More...
 
uint8_t key [32]
 Shared key. More...
 
uint16_t lastMessageCounter
 Last message counter state for specific Node. More...
 
time_t keyValidFrom
 Last time that Node and Gateway agreed a key. More...
 
time_t lastMessageTime
 Last time a message was received by Node. More...
 
status_t status = UNREGISTERED
 Node state. More...
 
bool keyValid = false
 Node shared key valid. More...
 
bool sleepyNode = true
 Node sleepy definition. More...
 

Detailed Description

Struct that define node fields. Used for long term storage needs.

Definition at line 76 of file NodeList.h.

Member Data Documentation

◆ key

uint8_t node_instance::key[32]

Shared key.

Definition at line 79 of file NodeList.h.

◆ keyValid

bool node_instance::keyValid = false

Node shared key valid.

Definition at line 84 of file NodeList.h.

◆ keyValidFrom

time_t node_instance::keyValidFrom

Last time that Node and Gateway agreed a key.

Definition at line 81 of file NodeList.h.

◆ lastMessageCounter

uint16_t node_instance::lastMessageCounter

Last message counter state for specific Node.

Definition at line 80 of file NodeList.h.

◆ lastMessageTime

time_t node_instance::lastMessageTime

Last time a message was received by Node.

Definition at line 82 of file NodeList.h.

◆ mac

uint8_t node_instance::mac[ENIGMAIOT_ADDR_LEN]

Node address.

Definition at line 77 of file NodeList.h.

◆ nodeId

uint16_t node_instance::nodeId

Node identifier asigned by gateway.

Definition at line 78 of file NodeList.h.

◆ sleepyNode

bool node_instance::sleepyNode = true

Node sleepy definition.

Definition at line 85 of file NodeList.h.

◆ status

status_t node_instance::status = UNREGISTERED

Node state.

Definition at line 83 of file NodeList.h.


The documentation for this struct was generated from the following file: