mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.

Dependents:   MbedSmartRestMain MbedSmartRestMain

Revision:
6:cd7ba1ddb664
Parent:
3:aab51c468511
--- a/MbedSmartRest.h	Thu Jul 10 16:20:31 2014 +0200
+++ b/MbedSmartRest.h	Mon Jul 28 12:11:02 2014 +0200
@@ -32,10 +32,12 @@
 #include "SmartRest.h"
 #include "MbedClient.h"
 
+#define MBEDSMARTREST_TRIES 3
+
 class MbedSmartRest : public SmartRest
 {
 public:
-    MbedSmartRest(const char*, uint16_t, const char*);
+    MbedSmartRest(const char*, uint16_t, const char*, uint8_t = MBEDSMARTREST_TRIES);
 
 private:
     MbedClient _client;