freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Network

Description

The Network interface provides access to high level networking functions. Please see org.moblin.connman and org.bluez for low level networking functions.

Namespace

org.freesmartphone.Network

Methods

Signals

None

Properties

None

Errors

None

Methods

StartConnectionSharingWithInterface ( s )

Description: Start sharing the internet connection of this device with any clients connected to the specified network interface via DHCP.

Might launch a dhcp server process and adjust IP tables.

Parameters

s: interface

The network interface to start sharing the connectivity with.

StopConnectionSharingWithInterface ( s )

Description: Stop sharing the internet connection of this device with any clients connected to the specified network interface via DHCP.

Might stop a dhcp server process and adjust IP tables.

Parameters

s: interface

The network interface to stop sharing the connectivity with.

OfferDefaultRoute ( sssssss )

Description: Offer a default route to the internet.

NOTE that this method is for TESTING purposes only. Eventually connman will be used for that.

Parameters

s: technology

The technology offering the default route.

s: interface

The network interface offering the default route.

s: ipv4address

The network address to configure the interface with.

s: ipv4mask

The network mask to configure the interface with.

s: ipv4gateway

The network gateway address for the default route.

s: dns1

The first DNS address.

s: dns2

The second DNS address.


| Specified 2008-2012 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org