EnigmaIOT  0.9.8
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...
 
uint16_t lastControlCounter
 Last control message counter state for specific Node. More...
 
uint16_t lastDownlinkMsgCounter
 Last downlink 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...
 
char nodeName [NODE_NAME_LENGTH]
 Node name. Use as a human friendly name to avoid use of numeric address. More...
 

Detailed Description

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

Definition at line 89 of file NodeList.h.

Member Data Documentation

◆ key

uint8_t node_instance::key[32]

Shared key.

Definition at line 92 of file NodeList.h.

◆ keyValid

bool node_instance::keyValid = false

Node shared key valid.

Definition at line 99 of file NodeList.h.

◆ keyValidFrom

time_t node_instance::keyValidFrom

Last time that Node and Gateway agreed a key.

Definition at line 96 of file NodeList.h.

◆ lastControlCounter

uint16_t node_instance::lastControlCounter

Last control message counter state for specific Node.

Definition at line 94 of file NodeList.h.

◆ lastDownlinkMsgCounter

uint16_t node_instance::lastDownlinkMsgCounter

Last downlink message counter state for specific Node.

Definition at line 95 of file NodeList.h.

◆ lastMessageCounter

uint16_t node_instance::lastMessageCounter

Last message counter state for specific Node.

Definition at line 93 of file NodeList.h.

◆ lastMessageTime

time_t node_instance::lastMessageTime

Last time a message was received by Node.

Definition at line 97 of file NodeList.h.

◆ mac

uint8_t node_instance::mac[ENIGMAIOT_ADDR_LEN]

Node address.

Definition at line 90 of file NodeList.h.

◆ nodeId

uint16_t node_instance::nodeId

Node identifier asigned by gateway.

Definition at line 91 of file NodeList.h.

◆ nodeName

char node_instance::nodeName[NODE_NAME_LENGTH]

Node name. Use as a human friendly name to avoid use of numeric address.

Definition at line 101 of file NodeList.h.

◆ sleepyNode

bool node_instance::sleepyNode = true

Node sleepy definition.

Definition at line 100 of file NodeList.h.

◆ status

status_t node_instance::status = UNREGISTERED

Node state.

Definition at line 98 of file NodeList.h.


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