Not sure if this is the right newsgroup....please let me know if there is a
better one.
I'm developing an application for a rugged WM 5.0 PDA that uses a compact
flash GPRS modem to connect to the Internet. Our application uses the
compact .net framework to communicate to our servers on the Internet. I'm
trying to understand a bit more how windows mobile handles the modem
connections, specifically the error conditions.
We setup a modem connection to Cingular or T-Mobile and the device
automatically handles the dialing out, etc. But if the device is in an area
with very poor GPRS coverage, after attempting to dial out, a balloon pops up
with "The answering modem has disconnected. To check your connection settings
and change them if needed, tap Settings."
If I enter bogus settings I can generate a other errors, such as "Cannot
connect for an unknown reason". Or removing the card and attempting to
connect gives "No modem found". I've also seen "No modem at above number"
and maybe a couple more that I can't think of.
I'd like to understand what these errors actually mean. Are there windows
API's that describe them?
The problem I'm investigating is that sometimes the modem gets into a state
where a soft reset is required before it will connect again. To our app, it
appears that the modem is not present.
So my first step is trying to better understand these error messages and
what conditions them happen in.
Thanks in advance for any help.