portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: apndb.h
- Revision:
- 29:853741b9ea3b
- Parent:
- 23:0a48eebaaba8
diff -r 2004400abeec -r 853741b9ea3b apndb.h --- a/apndb.h Sun May 25 17:46:19 2014 +0000 +++ b/apndb.h Mon May 26 08:10:27 2014 +0000 @@ -4,11 +4,10 @@ // Defiles the base type for storing mcc/mnc-apn/user/pass tuples typedef struct { - char mcc[4]; // mobile country code - char mnc[4]; // mobile network code - char apn[32]; - char user[32]; - char pass[32]; + const char *mcc; // mobile country code + const char *mnc; // mobile network code + const char *carrier; + const char *apn; } apndb_t; apndb_t * apndb_get(const char * imsi);