Sample project to connect to AT&T M2X from the STM32 Nucleo + MTSAS Cellular SocketModem shield

Dependencies:   M2XStreamClient jsonlite mbed

Fork of MTSAS_Cellular_Connect_M2X_Example_F411 by Joe Tijerina

Revision:
13:699045e9cce9
Parent:
12:23c052e020a9
Child:
14:025cccfe4215
--- a/main.cpp	Tue Aug 12 21:46:46 2014 +0000
+++ b/main.cpp	Wed Aug 13 14:28:07 2014 +0000
@@ -36,13 +36,13 @@
     
     //Create radio object
     Cellular* radio = CellularFactory::create(io);
-    radio->configureSignals(D4,D7,RESET);
-    Transport::setTransport(radio);
     
     if (! radio) {
         logFatal("Failed to initialize radio");
         return 1;
     }
+    radio->configureSignals(D4,D7,RESET);
+    Transport::setTransport(radio);
     
     //Set radio APN
     for (int i = 0; i < 10; i++) {