freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.GSM.PDP

Description

The Packet Data Protocol interface is used to set up binary data connections that allow you to transfer data over the TCP/IP protocol family routed via IP-based provider networks.

Namespace

org.freesmartphone.GSM.PDP

Methods

Signals

Errors

None

Methods

SetCredentials ( sss )

Description: Set the credentials for PDP context activation.

Parameters

s: apn

The access point name to connect to.

s: username

The user name to identify as.

s: password

The password to identify as.

GetCredentials ( ) → sss

Description: Get the credentials for PDP context activation.

Returns

s: apn

The access point name to connect to.

s: username

The user name to identify as.

s: password

The password to identify as.

ActivateContext ( )

Description: Request a PDP context activation to an IP-based network service provider.

Invocation of this command can change your network default route.

DeactivateContext ( )

Description: Cancel an ongoing ppp session and request a PDP context deactivation.

This command might change your network default route.

GetContextStatus ( ) → sa{sv}

Description: Retrieve the current PDP context status.

Returns

s: status

The context status. See ContextStatus for a list of valid values.

a{sv}: properties

The context status properties. See ContextStatus for details.

InternalStatusUpdate ( sa{sv} )

Description: This method is for internal use only.

Parameters

s: status

Internal use only.

a{sv}: properties

Internal use only.

Signals

ContextStatus ( sa{sv} )

Description: Sent whenever there is any status or property change on a pdp context in the system.

Parameters

s: status

The new status of the context. Expected values are:

Further information can be part of the properties.

a{sv}: properties

An array of property values. Note that properties are optional. Expected tuples are:


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