// JP opened flex table

Click to See Complete Forum and Search --> : RasDial and RasDialFunc callbacks


jpo234
March 2nd, 2004, 08:16 AM
Hi all,
for an upcoming project I need very finegrained control over a GPRS mobile phone and a dialup connection.
Ideally I want to open the serial port with the modem (actually it's an emulated modem appearing as COM10: ) and perform some initialization steps (like entering the PIN of the SIM Card, query some information about the wireless environment, set the GPRS Access Point Name). Then I want to switch into the GPRS data mode and pass everything on to RAS for the PPP part.

I think I can hook into the dialup process with the RasDialFunc callback functions and wait for the RASCS_ConnectDevice state to come up. Can I chat to the (mobile) phone from within these callback functions? How do I do this? If this does not work, what should I do instead? Can I do the connection setup all by myself? If yes, how?

Thanks in advance
Jörg

//JP added flex table