EnigmaIOT  0.9.3
Secure sensor and gateway platform based on ESP8266 and ESP32
Classes | Typedefs | Enumerations
Comms_hal.h File Reference

Generic communication system abstraction layer. More...

#include "WProgram.h"

Go to the source code of this file.

Classes

class  Comms_halClass
 Interface for communication subsystem abstraction layer definition. More...
 

Typedefs

typedef void(* comms_hal_rcvd_data) (uint8_t *address, uint8_t *data, uint8_t len)
 
typedef void(* comms_hal_sent_data) (uint8_t *address, uint8_t status)
 

Enumerations

enum  peerType_t { COMM_NODE = 0, COMM_GATEWAY = 1 }
 Peer role on communication. More...
 

Detailed Description

Generic communication system abstraction layer.

Version
0.9.3
Date
14/07/2020
Author
German Martin This is the interface that communication definition should implement to be used as layer 1 on EnigmaIoT

Definition in file Comms_hal.h.

Typedef Documentation

◆ comms_hal_rcvd_data

typedef void(* comms_hal_rcvd_data) (uint8_t *address, uint8_t *data, uint8_t len)

Definition at line 27 of file Comms_hal.h.

◆ comms_hal_sent_data

typedef void(* comms_hal_sent_data) (uint8_t *address, uint8_t status)

Definition at line 28 of file Comms_hal.h.

Enumeration Type Documentation

◆ peerType_t

enum peerType_t

Peer role on communication.

Enumerator
COMM_NODE 

Peer acts as a node

COMM_GATEWAY 

Peer acts as a gateway

Definition at line 22 of file Comms_hal.h.