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
- Committer:
- xinlei
- Date:
- 2015-05-11
- Revision:
- 106:c61f0d62b625
- Parent:
- 101:dbcd3bc51758
- Child:
- 113:3872569be2af
File content as of revision 106:c61f0d62b625:
#ifndef SMARTRESTCONF_H #define SMARTRESTCONF_H #define SMARTREST_SIZE 600 #define SMARTREST_BODY_SIZE 350 #define SMARTREST_SSL_SIZE 6000 #define SMARTREST_SSL_BODY_SIZE 5000 extern const char *srUsername; extern const char *srPassword; extern char srAuthStr[]; extern const char *srX_ID; extern const char *srHost; extern long deviceID; extern char fmtSmartRest[]; const int srPort = 80; const int srSSLPort = 443; void setDeviceID(long id); void setAuth(const char* username, const char* password); void setX_ID(const char* id); #endif /* SMARTRESTCONF_H */