Re: Addressing the modem via pyserial

2006-01-18 Thread Roel Schroeven
Doru-Catalin Togea schreef: > My question is actually: will an at-command like 'atdt1234' translate to > ser.write('atdt1234')? You'll have to include the end-of-line; I guess 'atdt1234\n' should work, otherwise you can try 'atdt1234\r\n' or 'atdt1234\r'. Also, don't forget that you have to set

Re: Addressing the modem via pyserial

2006-01-18 Thread Fredrik Lundh
Doru-Catalin Togea wrote: > In the HyperTerminal which comes with Win XP Pro, I can set up a > connection to COM3 and there type the 'atdt1234' command. It works (I get > a call since I have the modem connected to a device with a phone on it). even without pressing enter? > My question is actual

Addressing the modem via pyserial

2006-01-18 Thread Doru-Catalin Togea
Hi! I asked previously how to address the COM port from Python and I was directed to pyserial. It is very elegant and I guess it works very well. However, it seems that what I try to do is more complicated than I first thought. I want to make my modem place a call using the number '1234'. The