2 <node name=
"/" xmlns:
fso=
"http://www.freesmartphone.org/schemas/DBusSpecExtension" xmlns:
doc=
"http://www.freedesktop.org/dbus/1.0/doc.dtd" doc:
id=
"freesmartphone-gsm-mux-interface">
5 <doc:summary>freesmartphone.org GSM MUX Interface
</doc:summary>
6 <doc:version>1.1.0</doc:version>
8 <interface name=
"org.freesmartphone.GSM.MUX">
12 The MUX interface is used to manage and control virtual serial channels
13 (implemented through pseudo TTYs) which are multiplexed to one serial
14 line as described in
3GPP TS
07.10.
18 <method name=
"OpenSession">
19 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true"/>
21 <doc:description>Initiate a new multiplexing session.
</doc:description>
22 <doc:inote>The device needs to support the +CMUX command.
</doc:inote>
24 <arg name=
"advanced" type=
"b" direction=
"in">
26 <doc:summary>True, to use
07.10 Advanced Mode multiplexing, False to use
07.10 Basic Mode multiplexing.
</doc:summary>
29 <arg name=
"framesize" type=
"i" direction=
"in">
31 <doc:summary>The maximum framesize for
07.10 multiplexing frames.
</doc:summary>
34 <arg name=
"portname" type=
"s" direction=
"in">
36 <doc:summary>The port name to use.
</doc:summary>
39 <arg name=
"portspeed" type=
"i" direction=
"in">
41 <doc:summary>The port speed to use.
</doc:summary>
44 <fso:throws type=
"org.freesmartphone.GSM" />
45 <fso:throws type=
"org.freesmartphone" />
48 <method name=
"CloseSession">
49 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true"/>
51 <doc:description>Closes a multiplexing session.
</doc:description>
52 <doc:inote>The device will be left in AT command mode.
</doc:inote>
54 <fso:throws type=
"org.freesmartphone.GSM" />
55 <fso:throws type=
"org.freesmartphone" />
58 <method name=
"AllocChannel">
59 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true"/>
62 Allocate a new virtual channel. Raises org.freesmartphone.GSM.MUX.NoChannel,
63 if the requested channel can not be allocated. Raises org.freesmartphone.GSM.MUX.ChannelTaken,
64 if the requested channel is already allocated.
67 <arg name=
"origin" type=
"s" direction=
"in">
69 <doc:summary>A handle for channel user identification.
</doc:summary>
72 <arg name=
"channel" type=
"i" direction=
"in">
74 <doc:summary>The requested channel. Submit
0 to request the next free channel.
</doc:summary>
77 <arg name=
"path" type=
"s" direction=
"out">
79 <doc:summary>The pseudo tty connected to the virtual channel.
</doc:summary>
82 <arg name=
"allocated_channel" type=
"i" direction=
"out">
84 <doc:summary>The channel number that has been allocated.
</doc:summary>
87 <fso:throws type=
"org.freesmartphone.GSM" />
88 <fso:throws type=
"org.freesmartphone" />
91 <method name=
"ReleaseChannel">
92 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true"/>
95 Release all channels requested by a specified user.
98 <arg name=
"origin" type=
"s" direction=
"in">
100 <doc:summary>A handle for channel user identification.
</doc:summary>
103 <fso:throws type=
"org.freesmartphone.GSM" />
104 <fso:throws type=
"org.freesmartphone" />
107 <method name=
"SetStatus">
108 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true"/>
111 Modify the v24 status of a virtual channel.
114 <arg name=
"channel" type=
"i" direction=
"in">
116 <doc:summary>The virtual channel you want to change the outgoing status for.
</doc:summary>
119 <arg name=
"status" type=
"s" direction=
"in">
122 The new v
.24 status. See org.freesmartphone.GSM.MUX.Status for the format.
126 <fso:throws type=
"org.freesmartphone.GSM" />
127 <fso:throws type=
"org.freesmartphone" />
130 <signal name=
"Status">
133 Sent whenever there is v
.24 incoming status change on a virtual channel.
136 <arg type=
"s" name=
"status">
139 The new v
.24 status, which is a string combined of elements that make up the status. Valid elements are: