#pragma once #include #include #include "mqtt_client.h" #include "cJSON.h" // Variáveis globais extern esp_mqtt_client_handle_t mqtt_client; extern char topic_resp[64]; extern uint8_t hora_r, hora_g, hora_b; extern uint8_t min_r, min_g, min_b; extern uint8_t sec_r, sec_g, sec_b; extern int clock_speed_ms; extern bool demo_mode; extern char current_mode[16]; void mqtt_comandos_handle(cJSON *root);