Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: util/SmartRestConf.h
- Revision:
- 105:c61f0d62b625
- Parent:
- 100:dbcd3bc51758
- Child:
- 112:3872569be2af
--- a/util/SmartRestConf.h Fri May 08 14:50:43 2015 +0000 +++ b/util/SmartRestConf.h Mon May 11 18:10:44 2015 +0000 @@ -1,16 +1,19 @@ #ifndef SMARTRESTCONF_H #define SMARTRESTCONF_H #define SMARTREST_SIZE 600 -#define SMARRESTBODY_SIZE 300 +#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 const int srPort; 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);