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.
1 parent 4ad0d5f commit e4fdabfCopy full SHA for e4fdabf
PubSubClient/PubSubClient.cpp
@@ -5,7 +5,7 @@
5
*/
6
7
#include "PubSubClient.h"
8
-#include "Client.h"
+#include "EthernetClient.h"
9
#include "string.h"
10
11
PubSubClient::PubSubClient() : _client() {
PubSubClient/PubSubClient.h
@@ -8,7 +8,7 @@
#define PubSubClient_h
#include "Ethernet.h"
12
13
#define MAX_PACKET_SIZE 128
14
#define KEEPALIVE 15000 // max value = 255000
@@ -33,7 +33,7 @@
33
34
class PubSubClient {
35
private:
36
- Client _client;
+ EthernetClient _client;
37
uint8_t buffer[MAX_PACKET_SIZE];
38
uint8_t nextMsgId;
39
long lastOutActivity;
0 commit comments