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 Vincent Wochnik

common.h

Committer:
vwochnik
Date:
2014-02-12
Revision:
7:f77afd49c35d
Parent:
6:642e7c233e83
Child:
12:beb64aa0da86

File content as of revision 7:f77afd49c35d:

#include <stdint.h>
#include <stddef.h>
#include "mbed.h"
#include "C027.h"
#include "UbloxUSBGSMModem.h"
#include "UbloxUSBCDMAModem.h"
#include "MbedSmartRest.h"

/** signal quality type */
typedef struct
{
    int8_t rssi;  // RSSI in dBm
    uint8_t ber; // BER in %
} sigq_t;

extern C027 c027;
//extern UbloxUSBGSMModem modem;
extern MbedSmartRest client;

const char * imei();
const char * cellId();
const char * iccid();
sigq_t * signalQuality();
int program(void);