Fork of MQTT library

Dependencies:   FP

Dependents:   WNCProximityMqtt

Revision:
47:21d6fba046df
Parent:
46:e335fcc1a663
Child:
48:326380990a95
--- a/MQTTClient.h	Tue Aug 18 09:57:19 2015 +0000
+++ b/MQTTClient.h	Wed Sep 14 16:35:32 2016 +0000
@@ -350,6 +350,7 @@
         
 #if defined(MQTT_DEBUG)
     char printbuf[150];
+    char * MQTTFormat_toServerString(char* strbuf, int strbuflen, unsigned char* buf, int buflen);
     DEBUG("Rc %d from sending packet %s\n", rc, MQTTFormat_toServerString(printbuf, sizeof(printbuf), sendbuf, length));
 #endif
     return rc;
@@ -428,6 +429,7 @@
     if (rc >= 0)
     {
         char printbuf[50];
+        char* MQTTFormat_toClientString(char* strbuf, int strbuflen, unsigned char* buf, int buflen);
         DEBUG("Rc %d from receiving packet %s\n", rc, MQTTFormat_toClientString(printbuf, sizeof(printbuf), readbuf, len));
     }
 #endif