diff options
Diffstat (limited to 'firmware/include/mqtt.h')
| -rw-r--r-- | firmware/include/mqtt.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/firmware/include/mqtt.h b/firmware/include/mqtt.h new file mode 100644 index 0000000..4f46b5a --- /dev/null +++ b/firmware/include/mqtt.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #ifndef MQTT_H | ||
| 2 | #define MQTT_H | ||
| 3 | |||
| 4 | #include "mqtt_client.h" | ||
| 5 | |||
| 6 | /** | ||
| 7 | * @brief Starts the MQTT application. | ||
| 8 | * | ||
| 9 | * Initializes the MQTT client, registers event handlers, | ||
| 10 | * and starts the MQTT client. Also creates the publisher task | ||
| 11 | * that periodically sends messages. | ||
| 12 | */ | ||
| 13 | void mqtt_app_start(void); | ||
| 14 | |||
| 15 | #endif | ||
