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: M2XStreamClient jsonlite mbed
Fork of MTSAS_Cellular_Connect_Example_F411 by
Diff: main.cpp
- Revision:
- 13:699045e9cce9
- Parent:
- 12:23c052e020a9
- Child:
- 14:025cccfe4215
diff -r 23c052e020a9 -r 699045e9cce9 main.cpp
--- 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++) {
    