On Thursday 14 July 2005 01:23, Shawn Tan Ser Ngiap wrote: > > Once you send the AT commands to dial to a host....how does the PIC see > > its connected? Generally a text string sent back saying its connected > > typically? Then I assume its just sending data back and forth... > > Yes, in the old days, you actually saw this CONNECT string when you tried > to connect, before windows hid everything behind a GUI... You can tell the > modem to either send a text or numeric return value.. You can set a timeout > period as well... I set up my GPRS cellular modem to work under Linux by hand, using some notes from a website about the GPRS/celluar-specific AT strings, and standard old pppd -- even though the cellular carrier claims the only way to use this Sony/Ericsson GC79 card is via their special Windows management software. It pays to remember this old stuff, sometimes. ;-) Even better, under Linux the card appears to the OS (as I'm sure it does in Windows too, but they hide it from you with their fancy little GUI tool) as two separate cards. I can fire up the GPRS portion of the card to get a low-speed data link to the Net, and then turn on an Ad-Hoc 802.11b network to allow others to NAT through my cellular connection if they're within reach of my little card's signal on my laptop. (It also pays to know how to set your own routes for TCP/IP like we used to have to do and not rely on DHCP or other crutches other than when you feel like it.) > Check out the Hayes modem spec for more info.. you can configure the modem > with AT commands as well... AT&S0=1 ( GRIN ) > cheers.. +++ATH NO CARRIER ;-) -- Nate Duehr, nate@natetech.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist