From d10a48e4e5447e91595ecfc577d25cb5c1f36915 Mon Sep 17 00:00:00 2001 From: Jeevaka Badrappan Date: Fri, 11 Feb 2011 03:34:31 -0800 Subject: doc: Update possible errors --- doc/sim-api.txt | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'doc/sim-api.txt') diff --git a/doc/sim-api.txt b/doc/sim-api.txt index c8091f73..22fe22bd 100644 --- a/doc/sim-api.txt +++ b/doc/sim-api.txt @@ -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 -- cgit v1.2.3