We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b381728 + fa3c436 commit a29d0c3Copy full SHA for a29d0c3
README.md
@@ -37,6 +37,7 @@ boards and shields, including:
37
- TI CC3000 WiFi - [library](https://github.com/sparkfun/SFE_CC3000_Library)
38
- Intel Galileo/Edison
39
- ESP8266
40
+ - ESP32
41
42
The library cannot currently be used with hardware based on the ENC28J60 chip –
43
such as the Nanode or the Nuelectronics Ethernet Shield. For those, there is an
src/PubSubClient.h
@@ -76,7 +76,7 @@
76
// Maximum size of fixed header and variable length size header
77
#define MQTT_MAX_HEADER_SIZE 5
78
79
-#ifdef ESP8266
+#if defined(ESP8266) || defined(ESP32)
80
#include <functional>
81
#define MQTT_CALLBACK_SIGNATURE std::function<void(char*, uint8_t*, unsigned int)> callback
82
#else
0 commit comments