Simple example program to demonstrate and test cellular connection using the MTSAS library (over PPP protocol)

Dependencies:   mbed mtsas

Revision:
8:95c226a1dca7
Parent:
7:3e937d898953
Child:
9:0ed53023033b
--- a/main.cpp	Mon Jul 28 15:20:57 2014 +0000
+++ b/main.cpp	Tue Aug 05 14:40:12 2014 +0000
@@ -36,7 +36,12 @@
     //Sets the baudrate for communicating with the radio
     io->baud(115200);
     
+    //Create radio object
     Cellular* radio = CellularFactory::create(io);
+    radio->configureSignals(D4,D7,RESET);
+    Transport::setTransport(radio);
+    
+    //Set radio APN
     for (int i = 0; i < 10; i++) {
         if (i >= 10) {
             logError("Failed to set APN to %s", APN);
@@ -80,4 +85,4 @@
     
     logInfo("End of example code");
     return 0;
-}
\ No newline at end of file
+} 
\ No newline at end of file