>Cheers for the reply. I've had a look at the Palm OS Companion and the API >reference and there's an API called the Telephony API which contains a function >called TelSendCommandStringType. I'm thinking maybe I can use that to send the >AT-commands ? Although as you say, some sort of loopback may be required. > >Steve >
Sorry, but that isn't going to work. The Telephony Manager was introduced in PalmOS 4.0 and the Treo is running PalmOS 3.5.2H4.0... One thought - can you use Enhanced Network Scripting to do this? I think you should be able to transmit AT+CIMI and the use a Plug-In application to read the response back from the device. You could do this as part of the regular network logon, the user just logs on as per usual and your plugin gets the IMSI number while this is happening? Scripting docs: http://oasis.palm.com/dev/kb/manuals/1768.cfm Example code: http://oasis.palm.com/dev/kb/samples/1793.cfm However... if you want to do this programmatically you'll need to be able to create / modify a network profile. There used to be some code on the KnowledgeBase to do this by directly modifying the Network Panel DB - but a) it's not there anymore and b) Handspring have changed the format of this and introduced their own API for the network panel. I believe this API will be released when the GPRS APIs are released, which I'm led to believe will be soon. Cheers Russell -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
