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-08
Revision:
101:dbcd3bc51758
Parent:
99:e369fc75c000
Child:
106:c61f0d62b625

File content as of revision 101:dbcd3bc51758:

#ifndef SMARTRESTCONF_H
#define SMARTRESTCONF_H
#define SMARTREST_SIZE 600
#define SMARRESTBODY_SIZE 300

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[];

void setDeviceID(long id);
void setAuth(const char* username, const char* password);
void setX_ID(const char* id);

#endif /* SMARTRESTCONF_H */