I think I figured out the problem. I have been converting a rather large program (84K) to codwarrior 9.x and 5.x SDK. I do not get a reset when I turn on the radio in a much smaller test program I wrote.
On the larger program, the Treo even resets when I turn on the radio manually (Key press). I know there are some linker issues with a large memory model (I was still using Mac OS Linker). I haven't completely digested what I need to do to be able to link a large model program. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of joe bloggs Sent: Monday, August 09, 2004 12:45 PM To: Palm Developer Forum Subject: Re: Treo 600 auto turn on wireless mode I am using HsGetPhoneLibrary to get a reference to the phone lib. This works for me. The only challenge I had was that once the radio was on, if I tried to connect to the network via NetLibOpen, I would get an error saying that coverage was not available. To get around this, I placed a call to PhnLibGPRSAttached in a while loop until it returned true. I have not had a problem with the Treo resetting on using PhnLibSetModulePower. Cheers, Joe --- Martin Bruner <[EMAIL PROTECTED]> wrote: > I have tried to use the function > "PhnLibSetModulePower" but it ends up resetting the > Treo if the radio power is off. I am pretty much of > a newbie on programming the Treo 600 so I am not > very familiar with its library calls. > > Are you using HsGetPhoneLibrary to get the refNum > for PhnLibSetModulePower? I have tried that > function and SysLibFind with the same result > (reset). > > Marty > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see > http://www.palmos.com/dev/support/forums/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
