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.
Fork of MTS-Cellular by
Diff: Cellular/Cellular.cpp
- Revision:
- 4:1f63354b8d1b
- Parent:
- 3:04046eebaef5
- Child:
- 7:0ee8e69a3e9c
diff -r 04046eebaef5 -r 1f63354b8d1b Cellular/Cellular.cpp --- a/Cellular/Cellular.cpp Tue May 20 15:21:06 2014 -0500 +++ b/Cellular/Cellular.cpp Tue May 20 16:11:38 2014 -0500 @@ -1,5 +1,7 @@ +#include "mbed.h" #include "Cellular.h" #include "MTSText.h" +#include "MTSLog.h" using namespace mts; @@ -29,7 +31,7 @@ while (sendBasicCommand("AT", 1000) != SUCCESS) { i++; if (i >= 30) { - printf("[ERROR] Could not talk to radio after 30 tries\r\n"); + logError("Could not talk to radio after 30 tries"); i = 0; } wait(1);