[PATCH] Make SimManager property SubscriberNumbers writable.

Denis Kenzior denkenz at gmail.com
Fri Aug 7 13:52:43 PDT 2009


Hi Andrew,

> This implements writing SubscriberNumbers if the SIM allows this (optional
> to the SIM provider).  Because the property is an array of phone numbers,
> setting the property needs to write multiple records on the SIM so it's not
> atomic and potentially can fail partially.  In this case we have to report
> a write error to DBus client but at the same time file may be changed and
> we send a PropertyChanged.

I applied he patch but made some fixes.  Namely you can set the subscriber 
number array to any value with number of elements 0 .. # of records in 
EFmsisdn.

I also fixed sim_adn_parse/sim_adn_build functions to report the TON properly.

Can you do some more testing to make sure it is working as intended?

Regards,
-Denis


More information about the ofono mailing list