cellular port
Dependencies: Beep C027_Support C12832 LM75B MMA7660 mbed-rtos mbed nsdl_lib
This is a port of the NSDL HelloWorld for cellular.
To run the example you need a C027 and the ARM mbed application shield. The example uses cellular instead of ethernet and takes the true position from the GPS instead of using a fixed position.
dbg.h@15:11be37889a49, 2014-08-12 (annotated)
- Committer:
- sam_grove
- Date:
- Tue Aug 12 16:08:35 2014 +0000
- Revision:
- 15:11be37889a49
- Parent:
- 10:443e7f741c8e
Update C027_Support library for CDMA device support
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 2:7e489126fe7a | 1 | #ifndef DEBUG_H |
bogdanm | 2:7e489126fe7a | 2 | #define DEBUG_H |
bogdanm | 2:7e489126fe7a | 3 | |
bogdanm | 2:7e489126fe7a | 4 | #include "nsdl_support.h" |
bogdanm | 2:7e489126fe7a | 5 | #include "mbed.h" |
bogdanm | 2:7e489126fe7a | 6 | |
bogdanm | 2:7e489126fe7a | 7 | //Debug is disabled by default |
bogdanm | 2:7e489126fe7a | 8 | #define DEBUG 1 |
bogdanm | 2:7e489126fe7a | 9 | |
bogdanm | 2:7e489126fe7a | 10 | #if (DEBUG) |
mazgch | 10:443e7f741c8e | 11 | #define NSDL_DEBUG(x, ...) printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
bogdanm | 2:7e489126fe7a | 12 | #else |
bogdanm | 2:7e489126fe7a | 13 | #define NSDL_DEBUG(x, ...) |
bogdanm | 2:7e489126fe7a | 14 | #endif |
bogdanm | 2:7e489126fe7a | 15 | |
bogdanm | 2:7e489126fe7a | 16 | #endif |