Re: Phone auto-detection
"Joe Pham" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
>Firstly see if you can talk to all the ports in parallel (ie >use multiple threads) otherwise things get quite slow. I was thinking about that but haven't had a chance yet. >In the short term you could also set the timeout to one second >instead of the default 3 It is currently set to 1 (that was one of the first things I changed). Not sure if that actually has any effects. Will verify it. >The code seems to believe it can send AT commands at anything That's what it does now. >seems to wait an infinite amount of time for responses. commport should have timed out, not sure what happened there. >I'd recommend filtering the list of com ports first and >only send AT commands to modem devices Will try that. >It is a good idea to put something in the log since users >won't see the console output. It currently prints messages to the console. Will redirect that and other messages to the log display. >You should also only grab the list of ports that at least >one phone module has in its auto-detection list. You mean like a union of likely ports of all phone modules? -Joe Pham ______________________________________________________________________ Speed up your surfing with NetZero HiSpeed. Now includes pop-up blocker! Only $14.95/month -visit http://www.netzero.com/surf to sign up today! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click