aboutsummaryrefslogtreecommitdiff
path: root/tools/test-modemmanager-service.py
diff options
context:
space:
mode:
authorLukas Voegl <lvoegl@tdt.de>2024-11-22 15:53:33 +0100
committerLukas Voegl <lvoegl@tdt.de>2025-04-25 09:37:16 +0200
commit436081648b3587096683bd3ba4d219d16f14efb5 (patch)
tree4d134aeef271bd970c527dadfd611d05fec9903c /tools/test-modemmanager-service.py
parent39123f964ba6f359987f22d89317a842d8f1d528 (diff)
api,modem: new 'IgnoredPorts' property
Expose a new list of 'IgnoredPorts' via D-Bus and therefore remove the use of `MM_MODEM_PORT_TYPE_IGNORED` Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'tools/test-modemmanager-service.py')
-rwxr-xr-xtools/test-modemmanager-service.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-modemmanager-service.py b/tools/test-modemmanager-service.py
index f4eca184..a3fd518b 100755
--- a/tools/test-modemmanager-service.py
+++ b/tools/test-modemmanager-service.py
@@ -202,6 +202,7 @@ PM_DRIVERS = "Drivers"
PM_PLUGIN = "Plugin"
PM_PRIMARY_PORT = "PrimaryPort"
PM_PORTS = "Ports"
+PM_IGNORED_PORTS = "IgnoredPorts"
PM_EQUIPMENT_IDENTIFIER = "EquipmentIdentifier"
PM_UNLOCK_REQUIRED = "UnlockRequired"
PM_UNLOCK_RETRIES = "UnlockRetries"
@@ -259,6 +260,7 @@ class Modem(ExportedObj):
#props[PM_PLUGIN] = None
#props[PM_PRIMARY_PORT] = None
#props[PM_PORTS] = None
+ #props[PM_IGNORED_PORTS] = None
#props[PM_EQUIPMENT_IDENTIFIER] = None
#props[PM_UNLOCK_RETRIES] = dbus.UInt32(0)
#props[PM_ACCESS_TECHNOLOGIES] = None