Updated version of MQTT Arduino ported to mbed, with additional functionality for lower barrier of entry

Dependents:   mqtt-mbed-blinky

Fork of MQTT by Joerg Wende

Files at this revision

API Documentation at this revision

Comitter:
gkutsy
Date:
Sat May 10 19:36:14 2014 +0000
Parent:
1:f794fdfd3ecf
Commit message:
asdf

Changed in this revision

PubSubClient.cpp Show annotated file Show diff for this revision Revisions of this file
PubSubClient.h Show annotated file Show diff for this revision Revisions of this file
--- a/PubSubClient.cpp	Sat May 10 19:26:08 2014 +0000
+++ b/PubSubClient.cpp	Sat May 10 19:36:14 2014 +0000
@@ -35,6 +35,8 @@
     t.start();
 }
 
+PubSubClient::PubSubClient(char *ip, uint16_t port, 
+
 
 bool PubSubClient::connect(char *id)
 {
--- a/PubSubClient.h	Sat May 10 19:26:08 2014 +0000
+++ b/PubSubClient.h	Sat May 10 19:36:14 2014 +0000
@@ -53,7 +53,7 @@
    bool write(short header, char* buf, int length);
    int writeString(char* string, char* buf, int pos);
    char* ip;
-   int port;
+   uint16_t port;
 public:
    PubSubClient();
    PubSubClient(char*, int, void(*)(char*,char*,unsigned int));