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:
99:e369fc75c000
Parent:
95:010b0f7a0a1a
Child:
135:c4009ecaf5c0
--- a/util/lex.h	Mon Apr 27 13:30:21 2015 +0000
+++ b/util/lex.h	Thu May 07 09:57:55 2015 +0000
@@ -4,12 +4,10 @@
 
 struct Token
 {
-        enum TokType {
-                INT,
-                FLOAT,
-                STRING,
-                NONE,
-                ERROR
+        enum TokType { 
+                INT, FLOAT, STRING,
+                ASSIGN, SEMICOLON,
+                NONE, ERROR
         } type;
         const char *p;
         size_t len;
@@ -17,6 +15,7 @@
 
 const char* skipHTTPHeader(const char* p);
 const char* lex(const char*, Token&);
+const char* lexConfig(const char* p, Token& tok);
 size_t strncpyEscape(char*, const char*, size_t);
 
 #endif /* LEX_H */