2021-07-02 16:45:29 +00:00
|
|
|
//
|
|
|
|
// Created by jedi on 25.06.21.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef FIRMWARE_MQTT_H
|
|
|
|
#define FIRMWARE_MQTT_H
|
|
|
|
|
2022-06-27 18:00:48 +00:00
|
|
|
|
|
|
|
#include <FreeRTOS.h>
|
|
|
|
#include <queue.h>
|
|
|
|
|
2021-07-02 16:45:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2023-02-15 23:14:21 +00:00
|
|
|
#define PUB_MSG_LEN 64
|
|
|
|
|
2021-07-06 20:49:45 +00:00
|
|
|
void mqtt_task(void *pvParameters);
|
|
|
|
void beat_task(void *pvParameters);
|
|
|
|
|
2022-06-27 18:00:48 +00:00
|
|
|
extern QueueHandle_t publish_queue;
|
|
|
|
|
2021-07-02 16:45:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif //FIRMWARE_MQTT_H
|