summaryrefslogtreecommitdiff
path: root/docs/reference/api/html/ch12s03.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/api/html/ch12s03.html')
-rw-r--r--docs/reference/api/html/ch12s03.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/docs/reference/api/html/ch12s03.html b/docs/reference/api/html/ch12s03.html
new file mode 100644
index 0000000..b22ae7a
--- /dev/null
+++ b/docs/reference/api/html/ch12s03.html
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Connection and disconnection</title>
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
+<link rel="home" href="index.html" title="ModemManager Reference Manual">
+<link rel="up" href="ch12.html" title="">
+<link rel="prev" href="ch12s02.html" title="PIN unlocking">
+<link rel="next" href="ch12s04.html" title="Simple connection">
+<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
+<td><a accesskey="p" href="ch12s02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
+<td><a accesskey="u" href="ch12.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
+<th width="100%" align="center">ModemManager Reference Manual</th>
+<td><a accesskey="n" href="ch12s04.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="idm211855470720"></a>Connection and disconnection</h2></div></div></div>
+<p>
+ The process of requesting to connect or disconnect the modem is now split into
+ two operations: creating a bearer with
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Modem.html#gdbus-method-org-freedesktop-ModemManager1-Modem.CreateBearer" title="The CreateBearer() method">
+ <code class="function">CreateBearer()</code>
+ </a>
+ in the
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Modem.html" title="org.freedesktop.ModemManager1.Modem">
+ <code class="literal">org.freedesktop.ModemManager1.Modem</code>
+ </a>
+ interface and getting the bearer connected with
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Bearer.html#gdbus-method-org-freedesktop-ModemManager1-Bearer.Connect" title="The Connect() method">
+ <code class="function">Connect()</code>
+ </a>
+ in the
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Bearer.html" title="org.freedesktop.ModemManager1.Bearer">
+ <code class="literal">org.freedesktop.ModemManager1.Bearer</code>
+ </a>
+ interface. These two steps are equivalent to the old <code class="literal"><code class="function">Connect()</code></code>
+ method in the previous <code class="literal">org.freedesktop.ModemManager.Modem</code>
+ interface.
+ </p>
+<p>
+ The old <code class="literal"><code class="function">Disconnect()</code></code>
+ method in the previous <code class="literal">org.freedesktop.ModemManager.Modem</code>
+ interface is therefore also applied in a per-bearer basis through the new
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Bearer.html#gdbus-method-org-freedesktop-ModemManager1-Bearer.Disconnect" title="The Disconnect() method">
+ <code class="function">Disconnect()</code>
+ </a>
+ in the
+ <a class="link" href="gdbus-org.freedesktop.ModemManager1.Bearer.html" title="org.freedesktop.ModemManager1.Bearer">
+ <code class="literal">org.freedesktop.ModemManager1.Bearer</code>
+ </a>
+ interface.
+ </p>
+<p>
+ 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).
+ </p>
+</div>
+<div class="footer">
+<hr>
+ Generated by GTK-Doc V1.18.1</div>
+</body>
+</html> \ No newline at end of file