HAMQTT 0.1.0
ESP-IDF component for integrating devices with Home Assistant over MQTT
Loading...
Searching...
No Matches
common.h File Reference

Common macros and definitions used across the HAMQTT library. More...

#include <stdbool.h>
#include "cJSON.h"
#include "esp_system.h"
#include "esp_log.h"
#include "esp_err.h"
#include "esp_check.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "mqtt_client.h"
#include "sdkconfig.h"

Go to the source code of this file.

Macros

#define HAMQTT_DEVICE_MAX_COMPONENTS   CONFIG_HAMQTT_DEVICE_MAX_COMPONENTS
#define HAMQTT_MAX_CHAR_BUF_SIZE   CONFIG_HAMQTT_MAX_CHAR_BUF_SIZE
#define HAMQTT_MQTT_CONNECT_TIMEOUT_MS   CONFIG_HAMQTT_MQTT_CONNECT_TIMEOUT_MS

Detailed Description

Common macros and definitions used across the HAMQTT library.

This header provides utility macros, constants, and shared definitions used by multiple components of the HAMQTT framework. It ensures consistency and reduces duplication across the codebase.

This file is included internally by other headers and source files and should not typically be included directly by user applications.

Author
Ethan Barnes
Date
2025