[Gpephone-devel] FW: How to make phoneserver adapt to different typesof modem?
JIANG Dan RD-ILAB-PEK
dan.jiang at orange-ftgroup.com
Fri Mar 16 05:12:40 CET 2007
-----Original Message-----
From: balbif at gmail.com [mailto:balbif at gmail.com] On Behalf Of Felipe Balbi
Sent: 2007年3月15日 18:45
To: JIANG Dan RD-ILAB-PEK
Subject: Re: [Gpephone-devel] How to make phoneserver adapt to different typesof modem?
I think this could be provided by an API (maybe kernel-side API) and the phone server would use this API to retrieve the modem "capabilities". This way we would be able to handle different kinds of modem without regarding on the lower level.
Another way, if the kernel-side API couldn't be developed, is to develop the API on user-space... actually on "phoneserver-space":
We would have an abstract Class called GSM_Modem and several different concrete modem-specific classes... phoneserver would use GSM_Modem abstract methods to use the correct modem-specific capabilities...
It would be nice to have this implemented through an Abstract Factory Design Pattern.
What do you guys think about it ?
On 3/15/07, JIANG Dan RD-ILAB-PEK <dan.jiang at orange-ftgroup.com> wrote:
>
>
> The difficulties of making phoneserver adapt to different modems lie
> in the following aspect:
> 1) Different devices may use different frame size
> 2) Different devices may use different AT commands (though some of the
> fundamental commands are similiar, refer to 3GPP TS 22.030 V3.4.0
> (http://www.3gpp.org/ftp/Specs/html-info/27007.htm)
> 3) Different response message back from different modem. Phoneserver
> need different parser to parse the message.
>
> Does anyone has other supplementaries?
>
> Thanks.
>
> _______________________________________________
> Gpephone-devel mailing list
> Gpephone-devel at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/gpephone-devel
>
>
--
Best Regards,
Felipe Balbi
felipebalbi at users.sourceforge.net
More information about the Gpephone-devel
mailing list