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
Diff: common.h
- Revision:
- 6:642e7c233e83
- Child:
- 7:f77afd49c35d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/common.h Mon Feb 10 15:46:26 2014 +0000
@@ -0,0 +1,23 @@
+#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();
+sigq_t * signalQuality();
+int program(void);
\ No newline at end of file
