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@23:0a48eebaaba8, 2014-03-24 (annotated)
- Committer:
- vwochnik
- Date:
- Mon Mar 24 09:58:46 2014 +0000
- Revision:
- 23:0a48eebaaba8
- Child:
- 29:853741b9ea3b
fix
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 | 23:0a48eebaaba8 | 7 | char mcc[4]; // mobile country code |
vwochnik | 23:0a48eebaaba8 | 8 | char mnc[4]; // mobile network code |
vwochnik | 23:0a48eebaaba8 | 9 | char apn[32]; |
vwochnik | 23:0a48eebaaba8 | 10 | char user[32]; |
vwochnik | 23:0a48eebaaba8 | 11 | char pass[32]; |
vwochnik | 23:0a48eebaaba8 | 12 | } apndb_t; |
vwochnik | 23:0a48eebaaba8 | 13 | |
vwochnik | 23:0a48eebaaba8 | 14 | apndb_t * apndb_get(const char * imsi); |
vwochnik | 23:0a48eebaaba8 | 15 | |
vwochnik | 23:0a48eebaaba8 | 16 | #endif |