Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: util/SmartRestSocket.h
- Revision:
- 96:ea056f6be2e8
- Parent:
- 93:61d44636f020
- Child:
- 98:e369fc75c000
--- a/util/SmartRestSocket.h Mon Apr 27 10:50:21 2015 +0000 +++ b/util/SmartRestSocket.h Mon Apr 27 13:02:50 2015 +0000 @@ -1,20 +1,18 @@ #ifndef SMARTRESTSOCKET_H #define SMARTRESTSOCKET_H -#include "MDM.h" #include "TCPSocketConnection.h" #include "rtos.h" class SmartRestSocket : public TCPSocketConnection { public: - SmartRestSocket(MDMSerial& m): TCPSocketConnection(), mdm(m) {} + SmartRestSocket(): TCPSocketConnection() {} virtual ~SmartRestSocket() {} int connect(); int sendOnly(char *buf, int size); int sendAndReceive(char *buf, int size, int maxSize); private: static char cachedIP[16]; - MDMSerial& mdm; Mutex ipLock; };