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:
- 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