SmartREST client reference implementation for the u-blox C027 mbed compatible device.
Dependencies: C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832
Fork of MbedSmartRestTest by
apndb.h@29:853741b9ea3b, 2014-05-26 (annotated)
- Committer:
- vwochnik
- Date:
- Mon May 26 08:10:27 2014 +0000
- Revision:
- 29:853741b9ea3b
- Parent:
- 23:0a48eebaaba8
minor fixes for modem connection
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vwochnik | 23:0a48eebaaba8 | 1 | #ifndef APNDB_H |
vwochnik | 23:0a48eebaaba8 | 2 | #define APNDb_H |
vwochnik | 23:0a48eebaaba8 | 3 | |
vwochnik | 23:0a48eebaaba8 | 4 | // Defiles the base type for storing mcc/mnc-apn/user/pass tuples |
vwochnik | 23:0a48eebaaba8 | 5 | typedef struct |
vwochnik | 23:0a48eebaaba8 | 6 | { |
vwochnik | 29:853741b9ea3b | 7 | const char *mcc; // mobile country code |
vwochnik | 29:853741b9ea3b | 8 | const char *mnc; // mobile network code |
vwochnik | 29:853741b9ea3b | 9 | const char *carrier; |
vwochnik | 29:853741b9ea3b | 10 | const char *apn; |
vwochnik | 23:0a48eebaaba8 | 11 | } apndb_t; |
vwochnik | 23:0a48eebaaba8 | 12 | |
vwochnik | 23:0a48eebaaba8 | 13 | apndb_t * apndb_get(const char * imsi); |
vwochnik | 23:0a48eebaaba8 | 14 | |
vwochnik | 23:0a48eebaaba8 | 15 | #endif |