Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Diff: Cellular/Cellular.cpp
- Revision:
- 4:1f63354b8d1b
- Parent:
- 3:04046eebaef5
- Child:
- 7:0ee8e69a3e9c
--- 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);