Vincent Wochnik / Mbed 2 deprecated MbedSmartRestMain

Dependencies:   C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832

Fork of MbedSmartRestTest by Vincent Wochnik

common.h

Committer:
vwochnik
Date:
2014-02-14
Revision:
12:beb64aa0da86
Parent:
7:f77afd49c35d
Child:
17:877a9a3148a4

File content as of revision 12:beb64aa0da86:

#ifndef COMMON_H
#define COMMON_H

#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);

#endif