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
SmartRestConf.h
00001 #ifndef SMARTRESTCONF_H 00002 #define SMARTRESTCONF_H 00003 00004 #define SMARTREST_SIZE 600 00005 #define SMARTREST_BODY_SIZE 350 00006 #define SMARTREST_SSL_SIZE 6000 00007 #define SMARTREST_SSL_BODY_SIZE 5000 00008 00009 #define CREDENTIAL_LENGTH 128 00010 #define UBLOX_SMARTREST_VERSION "com_cumulocity_MbedAgent_1.5.2" 00011 00012 extern char srTenant[]; 00013 extern char srUsername[]; 00014 extern char srPassword[]; 00015 extern char srAuthStr[]; 00016 extern char fmtSmartRest[]; 00017 extern const char *srX_ID; 00018 extern const char *srHost; 00019 extern long deviceID; 00020 const int srPort = 80; 00021 const int srSSLPort = 443; 00022 00023 void setDeviceID(long id); 00024 void setAuth(const char *tenant, const char *username, const char *password); 00025 void setX_ID(const char *id); 00026 00027 #endif /* SMARTRESTCONF_H */
Generated on Wed Jul 13 2022 19:40:51 by 1.7.2