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

MQTT Gateway output module. More...

#include <Arduino.h>
#include "GwOutput_mqtt.h"
#include <ArduinoJson.h>
#include <ESPAsyncWebServer.h>
#include <helperFunctions.h>
#include <EnigmaIOTdebug.h>
#include <PubSubClient.h>
#include <FS.h>

Go to the source code of this file.

Functions

char * getTopicAddress (char *topic, unsigned int &len)
 
control_message_type_t checkMsgType (String data)
 
control_message_type_t getTopicType (char *topic, char *&userCommand)
 

Variables

GwOutput_MQTT GwOutput
 

Detailed Description

MQTT Gateway output module.

Version
0.9.8
Date
15/07/2021
Author
German Martin

Module to send and receive EnigmaIOT information from MQTT broker

Definition in file GwOutput_mqtt.cpp.

Function Documentation

◆ checkMsgType()

control_message_type_t checkMsgType ( String  data)

Definition at line 316 of file GwOutput_mqtt.cpp.

◆ getTopicAddress()

char* getTopicAddress ( char *  topic,
unsigned int &  len 
)

Definition at line 293 of file GwOutput_mqtt.cpp.

◆ getTopicType()

control_message_type_t getTopicType ( char *  topic,
char *&  userCommand 
)

Definition at line 354 of file GwOutput_mqtt.cpp.

Variable Documentation

◆ GwOutput

GwOutput_MQTT GwOutput

Definition at line 41 of file GwOutput_mqtt.cpp.