M2X sample code using SocketModem for Cellular or Wifi access

Dependencies:   SocketModem jsonlite mbed

Files at this revision

API Documentation at this revision

Comitter:
mfiore
Date:
Sat Jan 04 06:36:18 2014 +0000
Parent:
1:b12a128aae0e
Child:
3:f1bc76493377
Commit message:
used init function with pin mappings for DCD and DTR

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Jan 04 06:27:12 2014 +0000
+++ b/main.cpp	Sat Jan 04 06:36:18 2014 +0000
@@ -23,7 +23,7 @@
     serial->baud(115200);
     Transport::setTransport(Transport::CELLULAR);
     Cellular* cell = Cellular::getInstance();
-    cell->init(serial);
+    cell->init(serial, PTA4, PTC9);
 
     int max_tries = 5;
     int i;