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

Committer:
vwochnik
Date:
Fri Feb 14 12:28:41 2014 +0000
Revision:
12:beb64aa0da86
Parent:
7:f77afd49c35d
Child:
17:877a9a3148a4
fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vwochnik 12:beb64aa0da86 1 #ifndef COMMON_H
vwochnik 12:beb64aa0da86 2 #define COMMON_H
vwochnik 12:beb64aa0da86 3
vwochnik 6:642e7c233e83 4 #include <stdint.h>
vwochnik 6:642e7c233e83 5 #include <stddef.h>
vwochnik 6:642e7c233e83 6 #include "mbed.h"
vwochnik 6:642e7c233e83 7 #include "C027.h"
vwochnik 6:642e7c233e83 8 #include "UbloxUSBGSMModem.h"
vwochnik 6:642e7c233e83 9 #include "UbloxUSBCDMAModem.h"
vwochnik 6:642e7c233e83 10 #include "MbedSmartRest.h"
vwochnik 6:642e7c233e83 11
vwochnik 6:642e7c233e83 12 /** signal quality type */
vwochnik 6:642e7c233e83 13 typedef struct
vwochnik 6:642e7c233e83 14 {
vwochnik 6:642e7c233e83 15 int8_t rssi; // RSSI in dBm
vwochnik 6:642e7c233e83 16 uint8_t ber; // BER in %
vwochnik 6:642e7c233e83 17 } sigq_t;
vwochnik 6:642e7c233e83 18
vwochnik 6:642e7c233e83 19 extern C027 c027;
vwochnik 6:642e7c233e83 20 //extern UbloxUSBGSMModem modem;
vwochnik 6:642e7c233e83 21 extern MbedSmartRest client;
vwochnik 6:642e7c233e83 22
vwochnik 6:642e7c233e83 23 const char * imei();
vwochnik 6:642e7c233e83 24 const char * cellId();
vwochnik 7:f77afd49c35d 25 const char * iccid();
vwochnik 6:642e7c233e83 26 sigq_t * signalQuality();
vwochnik 12:beb64aa0da86 27 int program(void);
vwochnik 12:beb64aa0da86 28
vwochnik 12:beb64aa0da86 29 #endif