Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
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
