doc: Update possible errors

This commit is contained in:
Jeevaka Badrappan 2011-02-11 03:34:31 -08:00 committed by Denis Kenzior
parent 882ef10444
commit d10a48e4e5
23 changed files with 273 additions and 59 deletions

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns all audio settings properties. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
Signals PropertyChanged(string property, variant value)
This signal indicates a changed value of the given

View File

@ -9,29 +9,60 @@ Methods dict GetProperties()
Contains the properties for this object.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
void ChangePassword(string old_password, string new_password)
Register new network password for the barring
services.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidFormat
[service].Error.Failed
void DisableAll(string password)
Disables all call barrings.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void DisableAllIncoming(string password)
Disables barrings for incoming calls.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void DisableAllOutgoing(string password)
Disables barrings for outgoing calls.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void SetProperty(string property, variant value, string pin2)
Sets the given property value to that specified in
call parameter. For all properties, the password
(typically PIN2) must be provided.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.

View File

@ -8,6 +8,9 @@ Methods dict GetProperties()
Contains the properties for this object.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
void DisableAll(string type)
Disables all call forwarding rules for type.
@ -16,11 +19,24 @@ Methods dict GetProperties()
"conditional" - Disables all conditional rules,
e.g. busy, no reply and not reachable.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void SetProperty(string property, variant value)
Sets the given property value to that specified in
call parameter.
Possible Errors: [service].Error.NotAvailable
[service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.

View File

@ -8,6 +8,8 @@ Methods dict GetProperties()
Contains the properties for this object.
Possible Errors: [service].Error.InProgress
void SetProperty(string property, variant value,
string password)
@ -16,12 +18,24 @@ Methods dict GetProperties()
to pass the SIM PIN2 code which may be
required by the SIM.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void Reset(string password)
Attempts to reset the Accumulated Call Meter.
Reseting this value requires SIM PIN2, provided
by the password parameter.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.

View File

@ -8,11 +8,19 @@ Methods dict GetProperties()
Contains the properties for this object.
Possible Errors: [service].Error.InProgress
void SetProperty(string property, variant value)
Sets the given property value to that specified in
call parameter.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the CallVolume object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Changes the value of the specified property. Only
@ -19,8 +17,11 @@ Methods dict GetProperties()
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string name, variant value)

View File

@ -15,10 +15,20 @@ Methods dict GetProperties()
Initiates a new outgoing call. This is usually
implemented using the ATD AT command.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.NotImplemented
[service].Error.Failed
void Hangup()
Hangup all active calls.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void Answer()
Answer the incoming call. This only affects the

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the cell broadcast object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Changes the value of the specified property. Only
@ -19,8 +17,9 @@ Methods dict GetProperties()
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.Failed
Signals PropertyChanged(string name, variant value)

View File

@ -10,20 +10,23 @@ Methods dict GetProperties()
Returns all global system properties. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Sets the property to a desired value
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.Failed
void DeactivateAll()
Deactivates all active contexts.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.Failed
array{object,dict} GetContexts()
Get array of context objects and properties.
@ -41,12 +44,22 @@ Methods dict GetProperties()
Type documentation of ConnectionContext interface.
Returns the object path of the created context.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void RemoveContext(object context)
Removes a primary context. All secondary contexts, if
any, associated with the primary context are also
removed.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.NotFound
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
This signal indicates a changed value of the given
@ -130,8 +143,6 @@ Object path [variable]
Methods dict GetProperties()
Returns all properties for the context object.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Sets the property to a desired value
@ -139,8 +150,10 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
[service].Error.InProgress
[service].Error.NotAttached
[service].Error.AttachInProgress
[service].Error.NotImplemented
Signals PropertyChanged(string property, variant value)

View File

@ -15,8 +15,6 @@ Methods array{object,dict} GetModems()
and removal shall be monitored via ModemAdded and
ModemRemoved signals.
Possible Errors: [service].Error.InvalidArguments
Signals ModemAdded(object path, dict properties)
Signal that is sent when a new modem is added. It

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the message object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the MessageWaiting object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Changes the value of the specified property. Only
@ -20,7 +18,10 @@ Methods dict GetProperties()
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
[service].Error.InvalidFormat
[service].Error.NotSupported
[service].Error.SimNotReady
[service].Error.Failed
Signals PropertyChanged(string name, variant value)

View File

@ -10,7 +10,8 @@ Methods dict GetProperties()
Returns properties for the manager object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
array{object,dict} GetMessages()
@ -29,8 +30,11 @@ Methods dict GetProperties()
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
object SendMessage(string to, string text)
@ -38,6 +42,10 @@ Methods dict GetProperties()
message could be queued successfully, this method
returns an object path to the created Message object.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the modem object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void SetProperty(string property, variant value)
Changes the value of the specified property. Only
@ -19,8 +17,12 @@ Methods dict GetProperties()
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.NotAvailable
[service].Error.AccessDenied
[service].Error.Failed
Signals PropertyChanged(string name, variant value)

View File

@ -10,15 +10,15 @@ Methods dict GetProperties()
Returns all network registration properties. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void Register()
Attempts to register to the default network. The
default network is normally selected by the settings
from the SIM card.
Possible Errors: [service].Error.InvalidArguments
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
array{object,dict} GetOperators()
@ -46,6 +46,10 @@ Methods dict GetProperties()
GPRS contexts. Expect the context to be unavailable
for the duration of the operator scan.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
This signal indicates a changed value of the given
@ -148,8 +152,6 @@ Methods dict GetProperties()
Returns all network operator properties. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void Register()
Attempts to register to this network operator.
@ -158,7 +160,9 @@ Methods dict GetProperties()
be observed by tracking the NetworkRegistration Status
property.
Possible Errors: [service].Error.InvalidArguments
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
Signals PropertyChanged(string property, variant value)

View File

@ -15,4 +15,4 @@ Methods string Import()
The phonebook is returned as a single UTF8 encoded
string with zero or more VCard entries.
Possible Errors: [service].Error.Failed
Possible Errors: [service].Error.InProgress

View File

@ -10,10 +10,18 @@ Methods void RegisterAgent(object path)
Registers an agent which will be called whenever a
new Smart Messaging based SMS arrives.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void UnregisterAgent(object path)
Unregisters an agent.
Possible Errors: [service].Error.InvalidArguments
[service].Error.Failed
PushNotificationAgent Hierarchy [experimental]
===============

View File

@ -10,9 +10,8 @@ Methods dict GetProperties()
Returns all radio access properties. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InProgress
[service].Error.Failed
void SetProperty(string name, variant value)
@ -22,9 +21,9 @@ Methods dict GetProperties()
changeable. On success a PropertyChanged signal
will be emitted.
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
[service].Error.InProgress
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.Failed
Signals PropertyChanged(string property, variant value)

View File

@ -10,23 +10,39 @@ Methods dict GetProperties()
Returns SIM properties for the modem object. See
the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void ChangePin(string type, string oldpin, string newpin)
Changes the pin given by string type.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void EnterPin(string type, string pin)
Enters the currently pending pin. The type value must
match the pin type being asked in the PinRequired
property.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void ResetPin(string type, string puk, string newpin)
Provides the unblock key to the modem and if correct
resets the pin to the new value of newpin.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void LockPin(string type, string pin)
Activates the lock for the particular pin type. The
@ -35,17 +51,34 @@ Methods dict GetProperties()
re-inserted. The current PIN is required for the
operation to succeed.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void UnlockPin(string type, string pin)
Deactivates the lock for the particular pin type. The
current PIN is required for the operation to succeed.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
array{byte} GetIcon(byte id)
Obtain the icon given by id. Only ids greater than 1
are valid. XPM format is currently used to return the
icon data.
Possible Errors: [service].Error.NotImplemented
[service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.Failed
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the SimToolkit object. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
array{byte} GetIcon(byte id)
Returns the icon data for icon identified by id.
@ -27,6 +25,12 @@ Methods dict GetProperties()
a new agent to be used for the duration of the
user session.
Possible Errors: [service].Error.InProgress
[service].Error.NotSupported
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void RegisterAgent(object path)
Registers a default agent to be used for SIM initiated
@ -35,9 +39,10 @@ Methods dict GetProperties()
received and might not involve interaction from the
user.
Possible Errors: [service].Error.InvalidArguments
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.InUse
[service].Error.Failed
void UnregisterAgent(object path)
@ -46,9 +51,7 @@ Methods dict GetProperties()
are rejected.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.NotFound
[service].Error.NotAuthorized
[service].Error.Failed
Signals PropertyChanged(string property, variant value)

View File

@ -23,8 +23,11 @@ Methods string, variant Initiate(string command)
The output arguments are described in section
"Initiate method outptut arguments" below.
Possible Errors: [service].Error.Timedout
Possible Errors: [service].Error.Canceled
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
string Respond(string reply)
@ -32,14 +35,23 @@ Methods string, variant Initiate(string command)
it is awaiting further input after Initiate()
was called or after a network-initiated request.
Possible Errors: [service].Error.Timedout
Possible Errors: [service].Error.Canceled
Possible Errors: [service].Error.InProgress
[service].Error.NotActive
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void Cancel()
Cancel an ongoing USSD session, mobile- or
network-initiated.
Possible Errors: [service].Error.NotActive
[service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
dict GetProperties()
Returns Supplementary Services related properties. See

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns all properties for this object. See the
properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
void Deflect(string number)
Deflects the incoming or waiting call to number given
@ -25,6 +23,12 @@ Methods dict GetProperties()
This method should not be confused with the Transfer()
method.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
void Hangup()
Hangs up the voice call.
@ -43,6 +47,10 @@ Methods dict GetProperties()
of a held multiparty call might not be possible on some
implementations.
Possible Errors: [service].Error.InProgress
[service].Error.Failed
[service].Error.NotImplemented
void Answer()
Answers the incoming call. Only valid if the state
@ -51,6 +59,11 @@ Methods dict GetProperties()
This functionality is generally implemented by ATA
AT command.
Possible Errors: [service].Error.InProgress
[service].Error.Failed
[service].Error.NotImplemented
[service].Error.Failed
Signals PropertyChanged(string property, variant value)
Signal is emitted whenever a property has changed.

View File

@ -10,8 +10,6 @@ Methods dict GetProperties()
Returns properties for the VoiceCallManager Interface.
See the properties section for available properties.
Possible Errors: [service].Error.InvalidArguments
array{object,dict} GetCalls()
Get an array of call object paths and properties
@ -37,6 +35,12 @@ Methods dict GetProperties()
This is usually implemented using the ATD AT command.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.NotImplemented
[service].Error.Failed
void Transfer()
Joins the currently Active (or Outgoing, depending
@ -49,6 +53,10 @@ Methods dict GetProperties()
This functionality is generally implemented by using
the +CHLD=4 AT command.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void SwapCalls()
Swaps Active and Held calls. The effect of this
@ -65,6 +73,10 @@ Methods dict GetProperties()
This functionality is generally implemented by using
the +CHLD=2 AT command.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void ReleaseAndAnswer()
Releases currently active call (0 or more) and
@ -72,6 +84,10 @@ Methods dict GetProperties()
if the current call is a multiparty call, then all
parties in the multi-party call will be released.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void HoldAndAnswer()
Puts the current call (including multi-party calls) on
@ -80,10 +96,18 @@ Methods dict GetProperties()
Held calls is invalid, since in GSM a user can have
only a single Held call at a time.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void HangupAll()
Releases all calls.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
array{object} PrivateChat(object call)
Places the multi-party call on hold and makes desired
@ -97,6 +121,13 @@ Methods dict GetProperties()
This is usually implemented using the +CHLD=2X command.
Possible Errors: [service].Error.InProgress
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.NotFound
[service].Error.NotImplemented
[service].Error.Failed
array{object} CreateMultiparty()
Joins active and held calls together into a multi-party
@ -111,11 +142,19 @@ Methods dict GetProperties()
This is usually implemented using the +CHLD=3 AT
command.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void HangupMultiparty()
Hangs up the multi-party call. All participating
calls are released.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.Failed
void SendTones(string tones)
Sends the DTMF tones to the network. The tones have
@ -123,6 +162,12 @@ Methods dict GetProperties()
'*', '#', 'A', 'B', 'C', 'D'. The last four are
typically not used in normal circumstances.
Possible Errors: [service].Error.InProgress
[service].Error.NotImplemented
[service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.Failed
Signals CallAdded(object path, dict properties)
Signal that is sent when a new call is added. It