Xinlei Cao / MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
17:b3a4b4bdfc59
Parent:
6:cd7ba1ddb664
Child:
20:505d29d5bdfc
--- a/MbedSmartRest.cpp	Tue Mar 03 14:51:54 2015 +0000
+++ b/MbedSmartRest.cpp	Wed Mar 04 09:35:25 2015 +0000
@@ -28,8 +28,8 @@
 
  #include "MbedSmartRest.h"
 
-MbedSmartRest::MbedSmartRest(const char* host, uint16_t port, const char* identifier, uint8_t tries) :
+MbedSmartRest::MbedSmartRest(const char* host, uint16_t port, const char* identifier, MDMSerial& mdm, uint8_t tries) :
     SmartRest(_client, identifier),
-    _client(host, port, tries)
+    _client(host, port, mdm, tries)
 {
 }