freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.Device.LED

Description

This interface provides access to a LED device.

Namespace

org.freesmartphone.Device.LED

Methods

Signals

None

Properties

None

Errors

None

Methods

SetBrightness ( i )

Description: Set the brightness level.

Parameters

i: brightness

The brightness level in percent (0-100).

SetBlinking ( ii )

Description: Start blinking.

This requires the Linux 2.6 LED class trigger 'timer' to be available.

Parameters

i: on_duration

Duration of being lit in milliseconds.

i: off_duration

Duration of being unlit in milliseconds.

BlinkSeconds ( iii )

Description: Blink the LED for a number of seconds.

This requires the Linux 2.6 LED class trigger 'timer' to be available.

Parameters

i: seconds

The amount of time (in seconds) to blink this LED.

i: on_duration

Duration of being lit in milliseconds.

i: off_duration

Duration of being unlit in milliseconds.

SetNetworking ( ss )

Description: Start visualizing the network status.

This requires the Linux 2.6 LED class trigger 'netdev' to be available.

Parameters

s: interface

The interface to visualize.

s: mode

A string combined of elements describing the visualization mode. Valid elements are:


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