api,modem: deprecate ListBearers() method
This method is completely unnecessary as we have the readable Bearers property already in place, so let's deprecate it. Worth noting that the mm_modem_list_bearers() async/sync methods in libmm-glib were not really using the ListBearers() method anyway, they are using the property directly. These methods are NOT deprecated, because they allow us to get a list of MMBearer objects, instead of just the list of DBus paths that we get when reading the Bearers property directly. We also remove --list-bearers from the mmcli operation list as we have already the same information in the standard modem output.
This commit is contained in:

committed by
Dan Williams

parent
a15193b7ca
commit
72674225ca
@@ -42,6 +42,9 @@
|
||||
|
||||
List configured packet data bearers (EPS Bearers, PDP Contexts, or
|
||||
CDMA2000 Packet Data Sessions).
|
||||
|
||||
Deprecated: 1.10.0. Use #org.freedesktop.ModemManager1.Modem:Bearers
|
||||
property instead.
|
||||
-->
|
||||
<method name="ListBearers">
|
||||
<arg name="bearers" type="ao" direction="out" />
|
||||
|
Reference in New Issue
Block a user