Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Revision:
93:0acd11870c6a
Parent:
92:48069375dffa
Child:
94:61d44636f020
--- a/DisplayInfo.h	Fri Mar 20 14:27:10 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#ifndef DISPLAYINFO_H
-#define DISPLAYINFO_H
-#include <string.h>
-class DisplayInfo
-{
-public:
-        DisplayInfo(): firstLine(""), secondLine("") {}
-        void setFirstLine(const char* p) {
-                _setLine(firstLine, sizeof(firstLine), p);
-        }
-        const char *getFirstLine() const { return firstLine; }
-        void setSecondLine(const char* p) {
-                _setLine(secondLine, sizeof(secondLine), p);
-        }
-        const char *getSecondLine() const { return secondLine; }
-        virtual ~DisplayInfo() {}
-protected:
-        void _setLine(char *dest, size_t n, const char* src) {
-                if (src) {
-                        strncpy(dest, src, n-1);
-                        dest[n-1] = '\0';
-                }
-        }
-private:
-        char firstLine[25];
-        char secondLine[25];
-};
-
-#endif /* DISPLAYINFO_H */