IMSI, manufacturer, model, serial and etc.
sean_chiang at openmoko.com
Fri Feb 8 18:56:39 CET 2008
Paulius Zaleckas wrote:
> Hi everyone,
> I want/need to implement all these manufacturer, model, version,
> serial and IMSI queries to libgsmd. I am thinking about two scenarios:
> 1. Implement everything in lgsm_get_info method?
> 2. Implement everything in lgsm_get_imsi style?
> Here are my thoughts in detail about each one:
> 1. Add required methods to gsmd. Remove lgsm_get_imsi method. Remove
> ret_string and len arguments from lgsm_get_info method. Implement
> lgsm_get_info method in lgsm_get_imsi fashion. Adapt libgsmd-tool.
> 2. Add required methods to gsmd. Remove lgsm_get_info method from
> misc.h. Implement separate method for each query in lgsm_get_imsi
> fashion. Adapt libsmd-tool.
> Which way is better/preferred?
> Please don't hesitate to tell me your thoughts.
> Quick reaction is good since I will spend all next week on this and
> hopefully you will have a patch for all these new features in the end.
I preferred the latter, implement all in lgsm_get_imsi, because the 4
specific infos are got by
4 at commands respectively, hence I would like to keep it simple when
implement. That's why I preferred
separate them. ;-)
More information about the gsmd-devel