2019-05-15 10:10:12 +00:00
|
|
|
// ABMqtt.h
|
|
|
|
|
|
|
|
#ifndef _ABMQTT_h
|
|
|
|
#define _ABMQTT_h
|
|
|
|
|
|
|
|
#if defined(ARDUINO) && ARDUINO >= 100
|
2019-07-02 08:27:20 +00:00
|
|
|
#include <Arduino.h>
|
2019-05-15 10:10:12 +00:00
|
|
|
#else
|
2019-07-02 08:27:20 +00:00
|
|
|
#include <WProgram.h>
|
2019-05-15 10:10:12 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2019-07-02 08:27:20 +00:00
|
|
|
#include "../Libraries/PubSubClient/src/PubSubClient.h"
|
2019-05-15 10:10:12 +00:00
|
|
|
#include "BTCWifi.h""
|
|
|
|
#include "BTCWebServer.h"
|
|
|
|
|
|
|
|
|
|
|
|
void MqttCallback(char* topic, byte* payload, unsigned int length);
|
|
|
|
void MqttSetup();
|