15 lines
265 B
C
15 lines
265 B
C
#ifndef __MQTT_H__
|
|
#define __MQTT_H__
|
|
|
|
#include "device_keyboard_mqtt.h"
|
|
|
|
#ifdef ENABLE_KEYBOARD_MQTT
|
|
|
|
#include "WiFi.h"
|
|
#include <PubSubClient.h>
|
|
|
|
void init_mqtt(void);
|
|
bool publishMQTTMessage(const char *topic, const char *payload);
|
|
#endif
|
|
|
|
#endif /*__MQTT_H__*/
|