#ifndef __KIT_MQTT_H_ #define __KIT_MQTT_H_ #include #include #include #include "libpaho-mqtt/include/MQTTClient.h" #include "libpaho-mqtt/include/MQTTAsync.h" void closeInterface(); void openInterface(); void connlost(void *context, char *cause); void onDisconnectFailure(void* context, MQTTAsync_failureData* response); void onDisconnect(void* context, MQTTAsync_successData* response); void onSendFailure(void* context, MQTTAsync_failureData* response); void onSend(void* context, MQTTAsync_successData* response); void onConnectFailure(void* context, MQTTAsync_failureData* response); void onConnect(void* context, MQTTAsync_successData* response); int pubClient(); #endif