EnigmaIOT  0.9.8
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"
#include "EnigmaIoTconfig.h"

Go to the source code of this file.

Classes

struct  comms_queue_item_t
 
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.8
Date
15/07/2021
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 35 of file Comms_hal.h.

◆ comms_hal_sent_data

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

Definition at line 36 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 23 of file Comms_hal.h.