RE: phone detect change

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <001301c5d51d$2b4d47e0$6400a8c0@HOME>
> >I'll add a change to require the port['class'] to be in
> >the 'deviceclasses' in the phone's profile.
> 
> or you can simply check for port['mode_brew'] and ['mode_modem']

This is getting into an area I'm not very familiar with so bear with me if
you will.
Checking a port for mode_brew assumes that all phones that can be
autodetected support brew, and do not communicate via AT commands. After a
brief look at the code for the various phones this seems to be a reasonable
assumption. The phonedetect function does allow for a phone to return the
port specifically if it does something really weird and skip the
verification function.
The change would be to test for brew support and not modem, although I' not
sure if the modem check is required if brew is true. Does this make sense?

Simon



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.