|
|
@@ -58,3 +58,36 @@ func ModemExit() {
|
|
|
func GetCurModemType() ModemType {
|
|
|
return curModemType
|
|
|
}
|
|
|
+
|
|
|
+func GetIMEI() string {
|
|
|
+ switch curModemType {
|
|
|
+ case Air720U:
|
|
|
+ return modem1.GetIMEI()
|
|
|
+ case EC200U:
|
|
|
+ return modem2.GetIMEI()
|
|
|
+ default:
|
|
|
+ return "未知的调制解调器类型"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func GetRSSI() string {
|
|
|
+ switch curModemType {
|
|
|
+ case Air720U:
|
|
|
+ return modem1.GetRSSI()
|
|
|
+ case EC200U:
|
|
|
+ return modem2.GetRSSI()
|
|
|
+ default:
|
|
|
+ return "未知的调制解调器类型"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func GetSimICCID() string {
|
|
|
+ switch curModemType {
|
|
|
+ case Air720U:
|
|
|
+ return modem1.GetSimICCID()
|
|
|
+ case EC200U:
|
|
|
+ return modem2.GetSimICCID()
|
|
|
+ default:
|
|
|
+ return "未知的调制解调器类型"
|
|
|
+ }
|
|
|
+}
|