aboutsummaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2025-02-22 17:20:20 +0100
committerDan Williams <dan@ioncontrol.co>2025-03-28 20:53:52 +0000
commit2878833f5c83fe112f579865a6d318ce8413f452 (patch)
treef9761ec5a2a79de9f36b35246be0c24e8b913d37 /introspection
parentd8135be6e2c132e59d3fbe9d231afa88b1e5e2b2 (diff)
modem: Allow to set current channel list
This adds support for setting the channels to override the boot up modem defaults: ``` busctl --system call org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1/Modem/0 org.freedesktop.ModemManager1.Modem.CellBroadcast SetChannels 'a(uu)' 1 0 9999 busctl --system get-property org.freedesktop.ModemManager1 /org/freedesktop/ModemManager1/Modem/0 org.freedesktop.ModemManager1.Modem.CellBroadcast Channels a(uu) 1 0 9999 ``` Closes: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/934 Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Modem.CellBroadcast.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.CellBroadcast.xml b/introspection/org.freedesktop.ModemManager1.Modem.CellBroadcast.xml
index 9e8584a1..572e094c 100644
--- a/introspection/org.freedesktop.ModemManager1.Modem.CellBroadcast.xml
+++ b/introspection/org.freedesktop.ModemManager1.Modem.CellBroadcast.xml
@@ -87,5 +87,27 @@
-->
<property name="CellBroadcasts" type="ao" access="read" />
+ <!--
+ SetChannels:
+ @channels: The list of channels
+
+ Set the list of channels to receive Cell Broadcasts for.
+
+ Since: 1.24
+ -->
+ <method name="SetChannels">
+ <arg name="channels" type="a(uu)" direction="in" />
+ </method>
+
+ <!--
+ Channels:
+
+ The list of channels that cell broadcast messages are
+ received for.
+
+ Since: 1.24
+ -->
+ <property name="Channels" type="a(uu)" access="read" />
+
</interface>
</node>