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:
- 2016-08-08
- Revision:
- 139:f8ab852e83e7
- Parent:
- 117:5de54f09f754
File content as of revision 139:f8ab852e83e7:
#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 #define CREDENTIAL_LENGTH 128 #define UBLOX_SMARTREST_VERSION "com_cumulocity_MbedAgent_1.5.2" extern char srTenant[]; extern char srUsername[]; extern char srPassword[]; extern char srAuthStr[]; extern char fmtSmartRest[]; extern const char *srX_ID; extern const char *srHost; extern long deviceID; const int srPort = 80; const int srSSLPort = 443; void setDeviceID(long id); void setAuth(const char *tenant, const char *username, const char *password); void setX_ID(const char *id); #endif /* SMARTRESTCONF_H */