Example program to connect to the internet via Ublox Cellular Shield and post MEMS sensor readings to M2X.
Dependencies: C027_Support M2XStreamClient Nucleo_Sensor_Shield jsonlite mbed-rtos mbed
Fork of Cellular_m2x-demo-all by
Diff: main.cpp
- Revision:
- 9:08fdd1036e93
- Parent:
- 8:7ca1b7a712b7
- Child:
- 10:ba926a8f1fe6
--- a/main.cpp Sun Sep 07 01:34:16 2014 +0000 +++ b/main.cpp Sun Sep 07 01:42:11 2014 +0000 @@ -56,7 +56,7 @@ int main() { MDMSerial mdm; GPSI2C gps; - mdm.setDebug(4); // enable this for debugging issues + //mdm.setDebug(4); // enable this for debugging issues if (!mdm.connect(SIMPIN, APN,USERNAME,PASSWORD)) return -1;