C027_Support library plus AT Comand for dialing.
Fork of C027_Support_New by
Relax.h@78:caf0014375cb, 2014-05-20 (annotated)
- Committer:
- mazgch
- Date:
- Tue May 20 11:40:07 2014 +0000
- Revision:
- 78:caf0014375cb
- Parent:
- 74:208e3e32d263
- Child:
- 83:71e3b8bc9ab8
remove some headers, parse CREG URC
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mazgch | 74:208e3e32d263 | 1 | #pragma once |
mazgch | 74:208e3e32d263 | 2 | |
mazgch | 74:208e3e32d263 | 3 | #include "mbed.h" |
mazgch | 74:208e3e32d263 | 4 | |
mazgch | 74:208e3e32d263 | 5 | // declare the osDelay (usually from cmsis_os.h) |
mazgch | 74:208e3e32d263 | 6 | extern "C" void osDelay(uint32_t ms); |
mazgch | 74:208e3e32d263 | 7 | |
mazgch | 74:208e3e32d263 | 8 | /** A wait function that is independent whether the OS is includes or not |
mazgch | 74:208e3e32d263 | 9 | if rtos is included the Thread will yield for a certain time |
mazgch | 74:208e3e32d263 | 10 | otherwise (without rtos) it will just stay in a busy loop. |
mazgch | 74:208e3e32d263 | 11 | |
mazgch | 74:208e3e32d263 | 12 | \param ms number of milliseconds to wait |
mazgch | 74:208e3e32d263 | 13 | */ |
mazgch | 74:208e3e32d263 | 14 | inline void RELAX_MS(int ms) { |
mazgch | 74:208e3e32d263 | 15 | osDelay(ms); |
mazgch | 74:208e3e32d263 | 16 | } |