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@7:f77afd49c35d, 2014-02-12 (annotated)
- Committer:
- vwochnik
- Date:
- Wed Feb 12 11:25:26 2014 +0000
- Revision:
- 7:f77afd49c35d
- Parent:
- 6:642e7c233e83
- Child:
- 12:beb64aa0da86
fix
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| vwochnik | 6:642e7c233e83 | 1 | #include <stdint.h> |
| vwochnik | 6:642e7c233e83 | 2 | #include <stddef.h> |
| vwochnik | 6:642e7c233e83 | 3 | #include "mbed.h" |
| vwochnik | 6:642e7c233e83 | 4 | #include "C027.h" |
| vwochnik | 6:642e7c233e83 | 5 | #include "UbloxUSBGSMModem.h" |
| vwochnik | 6:642e7c233e83 | 6 | #include "UbloxUSBCDMAModem.h" |
| vwochnik | 6:642e7c233e83 | 7 | #include "MbedSmartRest.h" |
| vwochnik | 6:642e7c233e83 | 8 | |
| vwochnik | 6:642e7c233e83 | 9 | /** signal quality type */ |
| vwochnik | 6:642e7c233e83 | 10 | typedef struct |
| vwochnik | 6:642e7c233e83 | 11 | { |
| vwochnik | 6:642e7c233e83 | 12 | int8_t rssi; // RSSI in dBm |
| vwochnik | 6:642e7c233e83 | 13 | uint8_t ber; // BER in % |
| vwochnik | 6:642e7c233e83 | 14 | } sigq_t; |
| vwochnik | 6:642e7c233e83 | 15 | |
| vwochnik | 6:642e7c233e83 | 16 | extern C027 c027; |
| vwochnik | 6:642e7c233e83 | 17 | //extern UbloxUSBGSMModem modem; |
| vwochnik | 6:642e7c233e83 | 18 | extern MbedSmartRest client; |
| vwochnik | 6:642e7c233e83 | 19 | |
| vwochnik | 6:642e7c233e83 | 20 | const char * imei(); |
| vwochnik | 6:642e7c233e83 | 21 | const char * cellId(); |
| vwochnik | 7:f77afd49c35d | 22 | const char * iccid(); |
| vwochnik | 6:642e7c233e83 | 23 | sigq_t * signalQuality(); |
| vwochnik | 6:642e7c233e83 | 24 | int program(void); |
