TelIsPhoneConnected does not seem to have a return value in synchronous mode.
Err TelIsPhoneConnected(UInt16 iRefnum, TelAppID iAppId, UInt16 *ioTransIdP); In synchronous mode, ioTransIdP is NULL, so the only thing that can return information is Err. (In async mode, the event type doesn't seem to have a return value either.) Does anyone know how it works, or even what it does? It appears to return errNone when the phone is on or off. I would like to know whether an OS4 or up device has a phone which is turned on, and the telephony library does not seem to have a way of figuring it out. (Of course it would be nice if NetLib didn't hang up the system with an alert if the phone is off, then I wouldn't have to figure this out.) Anyone got any ideas? Matt -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
