Hi Daniel,

On Thu, Jan 03, 2013 at 09:13:49PM +0100, Daniel Wagner wrote:
> On 1/3/13 3:00 AM, Forest Bond wrote:
> >>>Previously, the CDMA device was created only after the CDMA
> >>>ConnectionManager interface was added.  This created a chicken-and-egg
> >>>problem because oFono would not add the CM interface until after the
> >>>modem was online, but we would not set the modem online until enabling
> >>>the device (which was not created yet).  As a result, CDMA modems would
> >>>only work if they were set online manually.
> >>
> >>So what you are saying is that the comment in ready_to_create_device()
> >>is wrong,
> >>
> >>    /*
> >>     * There are three different modem types which behave slightly
> >>     * different:
> >>     * - GSM modems will expose the SIM interface then the
> >>     *   CM interface.
> >>     * - CDMA modems will expose CM first and sometime later
> >>     *   a unique serial number.
> >>     *
> >>     * This functions tests if we have the necessary information gathered
> >>     * before we are able to create a device.
> >>     */
> >
> >Correct, I have observed different behavior than what is documented here and
> >this is confirmed by looking at the code for the following ofono drivers:
> >
> >* speedupcdma.c
> >* huawei.c
> >* nokiacdma.c
> >
> >In each driver, the CDMA ConnectionManager is created in the respective
> >post_online function so we will not see it until we've set the modem online.
> 
> I don't have the source in front of me: Are there those all CDMA
> drivers or just a bunch of them?

Those are all of the plugins that register CDMA ConnectionManagers in current
oFono git.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to