[Ilugc] Modem application program

  • From: swamytk@xxxxxxxxxxxxx (T.KaruppuSwamy (T & B))
  • Date: Tue Sep 7 15:15:22 2004

madhuker mythri wrote:

Hello Swamy..
very much thanks for suggestion....
yeah, the commands u siad are working well...
 can we open the "/dev/ttyS0" device and send data ..by writing a program????
Do u have any idea of data transfer through modem telephone line???
                    Thanking you
                                  Regards
                                  Madhukar



On Tue, 07 Sep 2004 TKaruppuSwamy(T & B) wrote :
 

The sequence is like this.

Dialing end:
1. Dialing: send "ATDT<TeleNo.>" (.eg): ATDT22537684 (note: for pulse dialing 
- ATDP)
2. Once connected you will receive "CONNECT <speed and other details>" (e.g): 
CONNECT 5600 v41

Dialled end:
1. You will wait for "RING" message.
2. Once RING message comes send "ATA"
3. Once connected you will receive "CONNECT <speed and other details>" (e.g): 
CONNECT 5600 v41

Both ends:
1. Once you receive CONNECT message, now you are on data mode. You can send 
any data
2. To switch to command mode "+++".  This will put the modem in command mode 
(guard time is there to distingish this +++ from data.. don't worry!).
3. To go back to data mode "ATO".
4. To disconnect (hangup), "ATH0"

that is it.. try and let me know.. I have worked with Modem in M$ platforms 
not on linux... so curious about it.. :)

Regards,
T.KaruppuSwamy


madhuker mythri wrote:

   

Hello everybody,
     I want to write an appliaction program for data transfer b/w two 
systems back to back through modem telephone line(both systems have modems 
with telephone line connection b/w systems)...
and
In minicom when we enter "AT" reply "OK" is comming but, how to send 
data...i.e how to shift b/w data mode to command mode...
                                                                            
      Regards
                                            Madhukar

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with "unsubscribe 
<password> address"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



     


 

Yes madhukar! You can open the port "/dev/ttyS0" and write these 
commands, if you have connected your modem to serial port 1.  Open the 
port and read and write as usual.

Do u have any idea of data transfer through modem telephone line???

pl. be specific.. let me know what info you need on this..  let me try 
to answer...

Regards,
T.KaruppuSwamy




Other related posts: