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-network-interface">
5 <doc:summary>freesmartphone.org Network Interface
</doc:summary>
6 <doc:version>0.3.0</doc:version>
7 <doc:maintainer>Michael 'Mickey' Lauer
</doc:maintainer>
8 <doc:status>unstable
</doc:status>
11 <interface name=
"org.freesmartphone.Network">
15 The Network interface provides access to high level networking functions.
16 Please see org.moblin.connman and org.bluez for low level networking functions.
20 <method name=
"StartConnectionSharingWithInterface">
21 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
24 Start sharing the internet connection of this device with any clients
25 connected to the specified network interface via DHCP.
28 Might launch a dhcp server process and adjust IP tables.
31 <arg type=
"s" name=
"interface" direction=
"in">
33 <doc:summary>The network interface to start sharing the connectivity with.
</doc:summary>
36 <fso:throws type=
"org.freesmartphone" />
39 <method name=
"StopConnectionSharingWithInterface">
40 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
43 Stop sharing the internet connection of this device with any clients
44 connected to the specified network interface via DHCP.
47 Might stop a dhcp server process and adjust IP tables.
50 <arg type=
"s" name=
"interface" direction=
"in">
52 <doc:summary>The network interface to stop sharing the connectivity with.
</doc:summary>
55 <fso:throws type=
"org.freesmartphone" />
58 <method name=
"OfferDefaultRoute">
59 <annotation name=
"org.freedesktop.DBus.GLib.Async" value=
"true" />
62 Offer a default route to the internet.
65 NOTE that this method is for TESTING purposes only. Eventually connman will be used for that.
68 <arg type=
"s" name=
"technology" direction=
"in">
70 <doc:summary>The technology offering the default route.
</doc:summary>
73 <arg type=
"s" name=
"interface" direction=
"in">
75 <doc:summary>The network interface offering the default route.
</doc:summary>
78 <arg type=
"s" name=
"ipv4address" direction=
"in">
80 <doc:summary>The network address to configure the interface with.
</doc:summary>
83 <arg type=
"s" name=
"ipv4mask" direction=
"in">
85 <doc:summary>The network mask to configure the interface with.
</doc:summary>
88 <arg type=
"s" name=
"ipv4gateway" direction=
"in">
90 <doc:summary>The network gateway address for the default route.
</doc:summary>
93 <arg type=
"s" name=
"dns1" direction=
"in">
95 <doc:summary>The first DNS address.
</doc:summary>
98 <arg type=
"s" name=
"dns2" direction=
"in">
100 <doc:summary>The second DNS address.
</doc:summary>
103 <fso:throws type=
"org.freesmartphone" />