Files
ModemManager/docs/reference/api/ModemManager-sections.txt
Aleksander Morgado 3206e95663 api,introspection: new 'Ports' property in the Modem interface
We will expose a new 'Ports' property listing all ports currently known by a
given modem. Ports which are not used but are detected as being part of the
modem will be listed with an 'unknown' port type.

This change uses the new 'MMModemPortType' enum and the new 'MMModemPortInfo'
helper struct to handle these values in libmm-glib. The already available
'MMPortType' enum hasn't been re-used for the interface because it contains
values that we don't need (e.g. IGNORED).

The port list is now also included in the modem information command of mmcli:

$ sudo mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '97b7b99e3e2bea103880545b619fb05a3cc81b26')
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4'
           |        drivers: 'qcserial, qmi_wwan'
           |         plugin: 'Gobi'
           |   primary port: 'cdc-wdm0'
           |          ports: 'ttyUSB0 (qcdm), ttyUSB1 (at), cdc-wdm0 (qmi), wwp0s29u1u4 (net)'

https://bugzilla.gnome.org/show_bug.cgi?id=702678
2013-06-24 19:44:57 +02:00

60 lines
1.1 KiB
Plaintext

<SECTION>
<FILE>mm-version</FILE>
<TITLE>Version checks</TITLE>
MM_MAJOR_VERSION
MM_MINOR_VERSION
MM_MICRO_VERSION
MM_CHECK_VERSION
</SECTION>
<SECTION>
<FILE>mm-enums</FILE>
<TITLE>Flags and Enumerations</TITLE>
MMBearerIpFamily
MMBearerIpMethod
MMBearerAllowedAuth
MMFirmwareImageType
MMModem3gppFacility
MMModem3gppNetworkAvailability
MMModem3gppRegistrationState
MMModem3gppUssdSessionState
MMModemAccessTechnology
MMModemBand
MMModemCapability
MMModemCdmaActivationState
MMModemCdmaRegistrationState
MMModemCdmaRmProtocol
MMModemContactsStorage
MMModemLocationSource
MMModemLock
MMModemMode
MMModemState
MMModemStateFailedReason
MMModemStateChangeReason
MMModemPowerState
MMModemPortType
MMSmsPduType
MMSmsState
MMSmsDeliveryState
MMSmsStorage
MMSmsValidityType
</SECTION>
<SECTION>
<FILE>mm-errors</FILE>
<TITLE>Errors</TITLE>
MMConnectionError
MMCoreError
MMMessageError
MMMobileEquipmentError
MMSerialError
MMCdmaActivationError
<SUBSECTION Private>
MM_CDMA_ACTIVATION_ERROR_DBUS_PREFIX
MM_CONNECTION_ERROR_DBUS_PREFIX
MM_CORE_ERROR_DBUS_PREFIX
MM_MESSAGE_ERROR_DBUS_PREFIX
MM_MOBILE_EQUIPMENT_ERROR_DBUS_PREFIX
MM_SERIAL_ERROR_DBUS_PREFIX
</SECTION>