LoboMQ
Loading...
Searching...
No Matches
Includes.h File Reference
#include <Arduino.h>
#include <esp_now.h>
#include <SD.h>
#include <SPI.h>
#include <WiFi.h>
#include <Elog.h>
#include "Logger.h"

Go to the source code of this file.

Enumerations

enum  LMQErrType {
  LMQ_ERR_SUCCESS = 0 , LMQ_ERR_VALID_TOPIC , LMQ_ERR_INVAL_TOPIC , LMQ_ERR_BAD_ESP_CONFIG ,
  LMQ_ERR_ESP_SEND_FAIL , LMQ_ERR_XQUEUECREATE_FAIL , LMQ_ERR_XTASKCREATE_FAIL
}
 Enumerates every error code that can be returned by the library functions. More...
 

Detailed Description

Author
Rubén Gómez Villegas

This file contains the definitions and dependencies shared by every LoboMQ library part.

Definition in file Includes.h.

Enumeration Type Documentation

◆ LMQErrType

enum LMQErrType

Enumerates every error code that can be returned by the library functions.

Enumerator
LMQ_ERR_SUCCESS 

No error, operation successful.

LMQ_ERR_VALID_TOPIC 

No error, valid topic.

LMQ_ERR_INVAL_TOPIC 

Invalid topic (no topic, too big, contains wildcard characters in wrong positions, or contains non-UTF-8 characters).

LMQ_ERR_BAD_ESP_CONFIG 

Couldn't initialize ESP-NOW.

LMQ_ERR_ESP_SEND_FAIL 

Couldn't send the message.

LMQ_ERR_XQUEUECREATE_FAIL 

Couldn't create the broker queue.

LMQ_ERR_XTASKCREATE_FAIL 

Couldn't create the broker task.

Definition at line 28 of file Includes.h.