Emile Schwarz wrote:

How can I send "ATZ" to the modem ?

TIA,

Emile

First you open the serial port, set it up and then send the command. In my old code:

If Serial1.Open Then
Serial1.Baud =   13 //  13 = 56 KB
Serial1.Bits = 3 // 8 data bits
Serial1.CTS = True // enables CTS flow control
Serial1.DTR = True // enables DTR flow control
Serial1.Parity = 0
Serial1.Stop = 1 //   1 = 1.5 stop bits
Serial1.Write (App.InitStr + ChrB(13)+ChrB(10)) // The modem will ignore you until the line end
 CurRes = WaitFor("OK" , 300) // poll the serial port  looking for OK

regards,
Jim Payne
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to