From 6de13631745f35391f895628cc17ca03526ed0cc Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 7 Apr 2020 09:36:06 +0200 Subject: api,modem: improve capabilities related documentation And remove the unused mm_common_build_capability_combinations_any() method in the common non-public library code. --- .../org.freedesktop.ModemManager1.Modem.xml | 26 ++++++++++++++++------ 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'introspection') diff --git a/introspection/org.freedesktop.ModemManager1.Modem.xml b/introspection/org.freedesktop.ModemManager1.Modem.xml index eb4debd8..a67197d2 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.xml @@ -146,7 +146,12 @@ SetCurrentCapabilities: @capabilities: Bitmask of MMModemCapability values, to specify the capabilities to use. - Set the capabilities of the device. A restart of the modem may be required. + Set the capabilities of the device. + + The given bitmask should be supported by the modem, as specified in the + #org.freedesktop.ModemManager1.Modem.Modem:SupportedCapabilities property. + + This command may power-cycle the device. --> @@ -230,12 +235,16 @@ SupportedCapabilities: List of MMModemCapability - values, specifying the combinations of generic family of access + bitmasks, specifying the combinations of generic family of access technologies the modem supports. - If the modem doesn't allow changing the current capabilities, a single entry with - MM_MODEM_CAPABILITY_ANY - will be given. + If the modem doesn't allow changing the current capabilities, the + list will report one single entry with the same bitmask as in + #org.freedesktop.ModemManager1.Modem.Modem:CurrentCapabilities. + + Only multimode devices implementing both 3GPP (GSM/UMTS/LTE/5GNR) and + 3GPP2 (CDMA/EVDO) specs will report more than one combination of + capabilities. --> @@ -243,8 +252,11 @@ CurrentCapabilities: Bitmask of MMModemCapability - values, specifying the generic family of access technologies the modem - currently supports without a firmware reload or reinitialization. + values, specifying the currently used generic family of access + technologies. + + This bitmask will be one of the ones listed in + #org.freedesktop.ModemManager1.Modem.Modem:SupportedCapabilities. --> -- cgit v1.2.3-70-g09d2