All of lore.kernel.org
 help / color / mirror / Atom feed
* UIM manager atom APIs review request
@ 2010-08-19  3:46 Zhang, Caiwen
  2010-08-20 14:13 ` andrzej zaborowski
  0 siblings, 1 reply; 11+ messages in thread
From: Zhang, Caiwen @ 2010-08-19  3:46 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Hi all,

I am going to implement an UIM manager atom for CDMA extension. Its APIs will be almost the same as 
current SIM manger atom's APIs.  But I suggest maybe will can do some changes:

	1. Add PIN remain retry count support
	2. replace properties 'Present' 'PinRequired' and 'LockedPins' with a new add property 'Status'

Properties	string Status [readonly]
			
			Contains the string type of the status of the SIM.  
			The possible values are:
			"ready" - Not waiting for a password
			"pin" - SIM PIN is required
			"phone" - Phone-to-SIM PIN is required  [GSM only]
			"firstphone" - Phone-to-very-first SIM
						PIN is required  [GSM only]
			"pin2" - SIM PIN2 is required
			"network" - Network Personalization password is
						required  [GSM only]
			"netsub" - Network subset personalization
						password is required  [GSM only]
			"service" - Service Provider personalization
						password is required  [GSM only]
			"corp" - Corporate personalization password
						is required  [GSM only]
			"puk" - SIM PUK is required
			"firstphonepuk" - Phone-to-very-first SIM PUK is
						required  [GSM only]
			"puk2" - SIM PUK2 is required
			"networkpuk" - Network personalization unblocking
						password is required  [GSM only]
			"netsubpuk" - Network subset personalization
						unblocking password is required  [GSM only]
			"servicepuk" - Service provider personalization
						unblocking password is required  [GSM only]
			"corppuk" - Corporate personalization unblocking
						password is required  [GSM only]
			"absent" - No SIM inserted

		array{uint8} PinRetryCount [readonly]
		
			 Contains the remain retry count of PIN,PIN2,PUK and PUK2


I marked all the values that only support in GSM with [GSM only].   

Yes, ofono current API is OK. This is just my suggestion. Maybe I should completely 
follow current SIM manger atom's APIs.

Any suggestion? 

Thanks!

Caiwen


^ permalink raw reply	[flat|nested] 11+ messages in thread
* UIM manager atom APIs review request
@ 2010-08-18 16:03 Zhang, Caiwen
  2010-08-18 16:55 ` Marcel Holtmann
  2010-08-19  6:32 ` Kalle Valo
  0 siblings, 2 replies; 11+ messages in thread
From: Zhang, Caiwen @ 2010-08-18 16:03 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

Hi all,

I am going to implement an UIM manager atom for CDMA extension. Its APIs will be almost the same as 
current SIM manger atom's APIs.  But I suggest maybe will can do some changes:

	1. Add PIN remain retry count support
	2. replace properties 'Present' 'PinRequired' and 'LockedPins' with a new add property 'Status'

Properties	string Status [readonly]
			
			Contains the string type of the status of the SIM.  
			The possible values are:
			"ready" - Not waiting for a password
			"pin" - SIM PIN is required
			"phone" - Phone-to-SIM PIN is required  [GSM only]
			"firstphone" - Phone-to-very-first SIM
						PIN is required  [GSM only]
			"pin2" - SIM PIN2 is required
			"network" - Network Personalization password is
						required  [GSM only]
			"netsub" - Network subset personalization
						password is required  [GSM only]
			"service" - Service Provider personalization
						password is required  [GSM only]
			"corp" - Corporate personalization password
						is required  [GSM only]
			"puk" - SIM PUK is required
			"firstphonepuk" - Phone-to-very-first SIM PUK is
						required  [GSM only]
			"puk2" - SIM PUK2 is required
			"networkpuk" - Network personalization unblocking
						password is required  [GSM only]
			"netsubpuk" - Network subset personalization
						unblocking password is required  [GSM only]
			"servicepuk" - Service provider personalization
						unblocking password is required  [GSM only]
			"corppuk" - Corporate personalization unblocking
						password is required  [GSM only]
			"absent" - No SIM inserted

		array{uint8} PinRetryCount [readonly]
		
			 Contains the remain retry count of PIN,PIN2,PUK and PUK2


I marked all the values that only support in GSM with [GSM only].   

Yes, ofono current API is OK. This is just my suggestion. Maybe I should completely 
follow current SIM manger atom's APIs.

Any suggestion? 

Thanks!

Caiwen


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-23  2:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-19  3:46 UIM manager atom APIs review request Zhang, Caiwen
2010-08-20 14:13 ` andrzej zaborowski
2010-08-23  2:27   ` Zhang, Caiwen
  -- strict thread matches above, loose matches on Subject: below --
2010-08-18 16:03 Zhang, Caiwen
2010-08-18 16:55 ` Marcel Holtmann
2010-08-19  6:32 ` Kalle Valo
2010-08-19  8:15   ` Marcel Holtmann
2010-08-19  9:48     ` Zhang, Caiwen
2010-08-19 10:57       ` Marcel Holtmann
2010-08-20  3:12         ` Zhang, Caiwen
2010-08-20  8:26           ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.