mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-23 16:33:04 +08:00
- Rename component directory from lvgl_st7735s_use to lvgl_st7789_use - Update CMakeLists.txt to register new source files - Add comprehensive README documentation for ST7789 configuration - Add time_alarm module with SNTP synchronization and alarm management - Add sensors header for sensor abstraction layer
24 lines
482 B
C
24 lines
482 B
C
#ifndef MQTT_MANAGER_H
|
|
#define MQTT_MANAGER_H
|
|
|
|
#include "esp_err.h"
|
|
#include "mqtt_client.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern esp_mqtt_client_handle_t g_mqtt_client;
|
|
|
|
esp_err_t mqtt_manager_init(void);
|
|
esp_err_t mqtt_manager_start(void);
|
|
esp_err_t mqtt_manager_stop(void);
|
|
void mqtt_manager_publish_feedback(void);
|
|
void mqtt_manager_publish_alarm_status(int alarm_idx, const char *alarm_status, bool triggered);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // MQTT_MANAGER_H
|