Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Diff: Cellular/UIP.cpp
- Revision:
- 11:4e428f689069
- Parent:
- 10:c188cc05aed5
- Child:
- 13:e443e7e2b605
--- a/Cellular/UIP.cpp Wed May 21 15:45:05 2014 -0500 +++ b/Cellular/UIP.cpp Thu May 22 09:26:51 2014 -0500 @@ -6,8 +6,9 @@ using namespace mts; -UIP::UIP() +UIP::UIP(Radio type) { + this->type = type; io = NULL; dcd = NULL; dtr = NULL; @@ -43,6 +44,7 @@ reset(); test(); + logDebug("radio: %s", Cellular::getRadioNames(type).data()); return true; }