Read EFad and expose MNC length in IMSI as a SimManager property.
Andrzej Zaborowski
andrew.zaborowski at intel.com
Thu Aug 20 07:20:19 PDT 2009
2009/8/20 Gu, Yang <yang.gu at intel.com>:
> Several minor comments on this patch:
> 1. How about unify all the mnc_length to be unsigned char?
> 2. For this piece of code:
>>+ value = new_mnc_length;
>>+ ofono_dbus_signal_property_changed(conn, modem->path,
>>+ SIM_MANAGER_INTERFACE,
>>+ "MNCLength", DBUS_TYPE_BYTE,
>>+ &value);
> Is it necessary to use temporary variable value? Why not use &sim->mnc_length instead of &value?
Necessary no, we can use unsigned char for sim->mnc_length --
ofono_dbus_signal_property_changed requires unsigned char * -- it's
just proper to use ints for integers. I changed it as you suggest
nevertheless.
>
> 3. In function sim_ad_read_cb(), variable "ph" is defined by not used.
Thanks for noticing, removed in the attachment.
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Read-EFad-and-expose-MNC-length-in-IMSI-as-a-SimMana.patch
Type: text/x-patch
Size: 2805 bytes
Desc: not available
URL: <http://lists.ofono.org/pipermail/ofono/attachments/20090820/fa7e69de/attachment.bin>
More information about the ofono
mailing list