support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.

Fork of C027_Support by u-blox

Committer:
mazgch
Date:
Thu May 15 22:20:42 2014 +0000
Revision:
74:208e3e32d263
Child:
83:71e3b8bc9ab8
initial version of restructured u-blox library

Who changed what in which revision?

UserRevisionLine numberNew 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 }