Now MQTT compatible with test.mosquitto.org free broker (empty User vs NULL user)

Few analog-in fixes. ESP32 compilation broken due doard definition
changed. Trying to workaround it
This commit is contained in:
2019-04-30 12:51:57 +03:00
parent 29a95f79c0
commit 7cb0492a30
3 changed files with 19 additions and 9 deletions

View File

@@ -18,6 +18,8 @@
#include <FS.h> //this needs to be first, or it all crashes and burns...
#include <ESP_EEPROM.h>
#include <ESP8266HTTPClient.h>
//#include <ArduinoHttpClient.h>
//#include "HttpClient.h"
#include <WiFiManager.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
@@ -27,10 +29,12 @@
#endif
#if defined ARDUINO_ARCH_ESP32
//#include <FS.h> //this needs to be first, or it all crashes and burns...
#include <FS.h> //this needs to be first, or it all crashes and burns...
//#include <EEPROM.h>
#include <NRFFlashStorage.h>
#include <HttpClient.h>
//#include "HttpClient.h"
//#include <ArduinoHttpClient.h>
#include <HTTPClient.h>
#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>