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

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.

SetConnectionPreferences ( as )

Description: Configure connection preferences for internet connections.

Parameters

as: types

The preferred order of internet connection methods.

StartConnection ( s )

Description: Attempt to establish an internet connection. When the connection can not be established or is being dropped unscheduled, then it will automatically be reinstanciated.

Parameters

s: type

A connectivity method hint. If set, this overrides the settings given via SetConnectionPreferences

StopConnection ( )

Description: Stop all established internet connections and all attempts to establish.

Signals

OnlineStatus ( ba{sv} )

Description: Sent whenever there is an status change regarding internet connectivity.

Parameters

b: online

True, if there is internet connectivity. False, otherwise.

a{sv}: properties

An array of property parameter, if 'online' is true. All properties are optional. Expected keys are:


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