Thanks. But, I need some example code. I would feel better if I could
reference some source before blindly walking down an untraveled road.

Jeff Ayers

Tom Zerucha wrote in message <25855@palm-dev-forum>...
>
>On Fri, Sep 29, 2000 at 07:16:15AM -0600, Ayers Family Member wrote:
>> I want to create a program that sends data over phone lines to a PC using
>> the modem.
>>
>> Jeff Ayers
>
>Modems 101...
>
>Check the manual (the technical one - should be included or on most
>vendor sites) for the "AT" commands.  I think these were originally
>established by the Hayes corporation.
>
>Basically you use AT[command], and get a numeric or string status code.
>
>ATZ is the reset command.  You normally get OK in response.
>
>ATD dials and takes parameters, e.g.
>
>ATDT5551212 dials using touch tone (the T after the D).
>
>ATDP9,1-555-1212 dials using pulses, first dialing 9, pauses, then
>dials the number.  The hyphens are ignored.
>
>(these tend to vary a bit by manufacturer).
>
>If the phone rings you should see "RING".
>
>You can use ATA to answer the phone.
>
>In either case if the modems establish a connection, you should see
>"CONNECT" or connect followed by the speed of the connection.
>
>You can then send data to or from the PC.
>
>To exit, send the string "+++" but with no characters for 1 second
>before and after, and it will return to the command mode (where it
>takes AT commands, "ATH" is the hangup command).  On most modems you
>can also simply drop the DTR modem line signal and it will hangup.
>
>You can see some of this in the connect scripts for the network prefs
>panel.  Basically they use AT commands.
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to