0869ecc8ce
- add MQTT - add ESP32-C6 - fix simulation Signed-off-by: Peter Siegmund <developer@mars3142.org>
17 lines
303 B
C
17 lines
303 B
C
#pragma once
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
void mqtt_client_start(void);
|
|
void mqtt_publish(const char *message);
|
|
void mqtt_client_publish(const char *topic, const char *data, size_t len, int qos, bool retain);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|