Had to fork with a different name, because of some incompatibility issues.

Dependencies:   MQTT

Revision:
1:31c93319bbd8
Parent:
0:f86732d81998
--- a/DeviceClient.h	Fri Nov 06 07:09:14 2015 +0000
+++ b/DeviceClient.h	Fri Nov 06 09:01:29 2015 +0000
@@ -38,6 +38,7 @@
             int getConnTimeout(int attemptNumber);
             void logData(EthernetInterface& eth, char *hostname, char *clientId);
             int subscribeToCommands();
+            char* getMac(char* buf, int buflen);
 
         public:
             DeviceClient();
@@ -45,7 +46,7 @@
             DeviceClient(char *org, char *deviceType, char *deviceId, char *authMethod, char *authToken);
             bool publishEvent(char *eventName, char *data, MQTT::QoS qos = MQTT::QOS0);
             void setCommandCallback(CommandHandler callbackFunc);
-            char* getMac(char* buf, int buflen);
+            char* getDeviceId(char* buf, int buflen);
             void yield(int ms);
             bool connect();
             bool disconnect();