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.

Dependents:   HTTPClient_Cellular_HelloWorld Cellular_HelloMQTT MbedSmartRestMain Car_Bon_car_module ... more

This library is intended to be used with u-blox products such as the C027 or a shield with u-blox cellular and GPS modules like the cellular and positioning shield from Embedded Artist.

For 2G/GSM and 3G/UMTS you need to:

  • have a SIM card and know its PIN number
  • need to know you network operators APN setting These setting should be passed to the connect or init and join functions. You can also extend the APN database in MDMAPN.h.

For CDMA products you need to make sure that you have provisioned and activated the modem with either Sprint or Verizon.

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 }