Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Committer:
xinlei
Date:
Mon Aug 08 11:05:57 2016 +0000
Revision:
138:f8ab852e83e7
Parent:
116:5de54f09f754
Etisalat and Teleena APN.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xinlei 92:0acd11870c6a 1 #ifndef SMARTRESTCONF_H
xinlei 92:0acd11870c6a 2 #define SMARTRESTCONF_H
xinlei 112:3872569be2af 3
xinlei 93:61d44636f020 4 #define SMARTREST_SIZE 600
xinlei 105:c61f0d62b625 5 #define SMARTREST_BODY_SIZE 350
xinlei 105:c61f0d62b625 6 #define SMARTREST_SSL_SIZE 6000
xinlei 105:c61f0d62b625 7 #define SMARTREST_SSL_BODY_SIZE 5000
xinlei 92:0acd11870c6a 8
xinlei 112:3872569be2af 9 #define CREDENTIAL_LENGTH 128
xinlei 116:5de54f09f754 10 #define UBLOX_SMARTREST_VERSION "com_cumulocity_MbedAgent_1.5.2"
xinlei 112:3872569be2af 11
xinlei 112:3872569be2af 12 extern char srTenant[];
xinlei 112:3872569be2af 13 extern char srUsername[];
xinlei 112:3872569be2af 14 extern char srPassword[];
xinlei 98:e369fc75c000 15 extern char srAuthStr[];
xinlei 112:3872569be2af 16 extern char fmtSmartRest[];
xinlei 98:e369fc75c000 17 extern const char *srX_ID;
xinlei 98:e369fc75c000 18 extern const char *srHost;
xinlei 98:e369fc75c000 19 extern long deviceID;
xinlei 105:c61f0d62b625 20 const int srPort = 80;
xinlei 105:c61f0d62b625 21 const int srSSLPort = 443;
xinlei 92:0acd11870c6a 22
xinlei 98:e369fc75c000 23 void setDeviceID(long id);
xinlei 112:3872569be2af 24 void setAuth(const char *tenant, const char *username, const char *password);
xinlei 112:3872569be2af 25 void setX_ID(const char *id);
xinlei 92:0acd11870c6a 26
xinlei 92:0acd11870c6a 27 #endif /* SMARTRESTCONF_H */