Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/EasyIP.cpp
- Revision:
- 70:c0c621f88330
- Parent:
- 69:93dace69ee98
- Child:
- 71:8e8152d955d1
- Child:
- 72:7862171b277d
--- a/Cellular/EasyIP.cpp Tue Nov 11 17:54:06 2014 +0000 +++ b/Cellular/EasyIP.cpp Tue Nov 11 19:03:43 2014 +0000 @@ -294,14 +294,9 @@ return false; } - if(type == MTSMC_EV3) { + if(type == MTSMC_EV3 || type == MTSMC_LAT1) { if(!local_port) { - logDebug("Local port set to 1, port 0 not supported for MTSMC_EV3"); - local_port = 1; - } - } else if (type == MTSMC_LAT1) { - if(!local_port) { - logDebug("Local port set to 1, port 0 not supported for MTSMC_LAT1"); + logDebug("Local port set to 1, port 0 not supported for %s", getRadioNames(type).c_str()); local_port = 1; } }