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 Vincent Wochnik

util/SmartRestConf.h

Committer:
xinlei
Date:
2015-05-15
Revision:
113:3872569be2af
Parent:
106:c61f0d62b625
Child:
117:5de54f09f754

File content as of revision 113:3872569be2af:

#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

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 */