In order to simplify the whole sequence to get the modem connected, ModemManager
still exposes a Simple interface, renamed as:
org.freedesktop.ModemManager1.Modem.Simple
.
The
Connect()
method will create a single bearer with the parameters specified in the call and get
it connected, while the
Disconnect()
method will disconnect all available bearers.
One of the main differences with respect to the 0.6 interface, is that
Connect()
doesn't support to change allowed modes or bands. Instead, these operations should
be done through the methods in the
org.freedesktop.ModemManager1.Modem
interface.