Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/CellularFactory.cpp
- Revision:
- 76:6eeffc10739d
- Parent:
- 69:93dace69ee98
- Child:
- 81:87c20e68b7e7
diff -r 60ff839c9b6d -r 6eeffc10739d Cellular/CellularFactory.cpp --- a/Cellular/CellularFactory.cpp Wed Mar 25 17:59:46 2015 +0000 +++ b/Cellular/CellularFactory.cpp Thu Jun 25 08:27:35 2015 -0500 @@ -75,6 +75,12 @@ } else if (model.find("LE910-NAG") != string::npos) { type = Cellular::MTSMC_LAT1; mNumber = "LE910-NAG"; + } else if (model.find("LE910-SVG") != string::npos) { + type = Cellular::MTSMC_LVW2; + mNumber = "LE910-SVG"; + } else if (model.find("LE910-EUG") != string::npos) { + type = Cellular::MTSMC_LEU1; + mNumber = "LE910-EUG"; } if (type != Cellular::NA) { cell = new EasyIP(type);