Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
14:56478403e340
Parent:
12:6634f9814235
Child:
17:b3a4b4bdfc59
--- a/MbedClient.cpp	Sat Nov 15 12:21:41 2014 +0100
+++ b/MbedClient.cpp	Mon Feb 16 09:15:55 2015 +0000
@@ -119,7 +119,6 @@
             (!send("\r\n")))
             return connectionError();
     }
-
     _state = STATE_SENT_ID;
     return CLIENT_OK;
 }
@@ -140,7 +139,6 @@
 
     if (generator.writeTo(_sink) != len)
         return connectionError();
-    
     _state = STATE_SENT_DATA;
     return CLIENT_OK;
 }
@@ -198,6 +196,7 @@
 void MbedClient::stop()
 {
     MBCL_DBG("Resetting client.");
+    MBCL_DBG("Bytes tramsmitted sofar: %zu", packetSize);
     _isStreamRequest = false;
     _sock.close();
     _source.reset();