ModemManager Reference Manual |
---|
The process of requesting to connect or disconnect the modem is now split into
two operations: creating a bearer with
CreateBearer()
in the
org.freedesktop.ModemManager1.Modem
interface and getting the bearer connected with
Connect()
in the
org.freedesktop.ModemManager1.Bearer
interface. These two steps are equivalent to the old
method in the previous Connect()
org.freedesktop.ModemManager.Modem
interface.
The old
method in the previous Disconnect()
org.freedesktop.ModemManager.Modem
interface is therefore also applied in a per-bearer basis through the new
Disconnect()
in the
org.freedesktop.ModemManager1.Bearer
interface.
This logic of splitting the connection logic allows ModemManager to create multiple bearers that may be connected to e.g. different access points (if the modem allows it).