Removed dependency with Streaming.h
This commit is contained in:
@@ -33,7 +33,6 @@ no need for having tons of clients (also RAM is the problem with many clients)
|
|||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
* install [Streaming library](https://github.com/janelia-arduino/Streaming)
|
|
||||||
* install [TinyMqtt library](https://github.com/hsaturn/TinyMqtt)
|
* install [TinyMqtt library](https://github.com/hsaturn/TinyMqtt)
|
||||||
* modify <libraries/TinyMqtt/src/my_credentials.h> (wifi setup)
|
* modify <libraries/TinyMqtt/src/my_credentials.h> (wifi setup)
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
||||||
#include <Streaming.h> // https://github.com/janelia-arduino/Streaming
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Local broker that accept connections and two local clients
|
* Local broker that accept connections and two local clients
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
||||||
#include <Streaming.h> // https://github.com/janelia-arduino/Streaming
|
|
||||||
|
|
||||||
/** TinyMQTT allows a disconnected mode:
|
/** TinyMQTT allows a disconnected mode:
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include "TinyMqtt.h" // https://github.com/hsaturn/TinyMqtt
|
#include "TinyMqtt.h" // https://github.com/hsaturn/TinyMqtt
|
||||||
#include <Streaming.h> // https://github.com/janelia-arduino/Streaming
|
|
||||||
|
|
||||||
/** Simple Client
|
/** Simple Client
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#define TINY_MQTT_DEBUG
|
#define TINY_MQTT_DEBUG
|
||||||
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
#include <TinyMqtt.h> // https://github.com/hsaturn/TinyMqtt
|
||||||
#include <Streaming.h> // https://github.com/janelia-arduino/Streaming
|
#include <MqttStreaming.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#include "TinyMqtt.h"
|
#include "TinyMqtt.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <Streaming.h>
|
|
||||||
|
|
||||||
void outstring(const char* prefix, const char*p, uint16_t len)
|
void outstring(const char* prefix, const char*p, uint16_t len)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user