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
util/SmartRestConf.h@94:61d44636f020, 2015-04-20 (annotated)
- Committer:
- xinlei
- Date:
- Mon Apr 20 15:04:23 2015 +0000
- Revision:
- 94:61d44636f020
- Parent:
- 93:0acd11870c6a
- Child:
- 99:e369fc75c000
Integration of new device push code base.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
xinlei | 93:0acd11870c6a | 1 | #ifndef SMARTRESTCONF_H |
xinlei | 93:0acd11870c6a | 2 | #define SMARTRESTCONF_H |
xinlei | 94:61d44636f020 | 3 | #define SMARTREST_SIZE 600 |
xinlei | 94:61d44636f020 | 4 | #define SMARRESTBODY_SIZE 300 |
xinlei | 93:0acd11870c6a | 5 | |
xinlei | 93:0acd11870c6a | 6 | const char* getHost(); |
xinlei | 93:0acd11870c6a | 7 | int getPort(); |
xinlei | 93:0acd11870c6a | 8 | |
xinlei | 93:0acd11870c6a | 9 | void setAuth(const char* username, const char* password); |
xinlei | 94:61d44636f020 | 10 | const char* getUsername(); |
xinlei | 94:61d44636f020 | 11 | const char* getPassword(); |
xinlei | 93:0acd11870c6a | 12 | const char* getAuthStr(); |
xinlei | 94:61d44636f020 | 13 | const char* getSmartRestFmt(); |
xinlei | 93:0acd11870c6a | 14 | |
xinlei | 93:0acd11870c6a | 15 | void setIdentifier(const char* id); |
xinlei | 93:0acd11870c6a | 16 | const char* getIdentifier(); |
xinlei | 93:0acd11870c6a | 17 | |
xinlei | 93:0acd11870c6a | 18 | #endif /* SMARTRESTCONF_H */ |