[PHP] problem with sending AT command in php

2011-11-12 Thread a dehqan
In The Name Of Allah The compassionate merciful Hello ; Am trying to send AT commands to my GSMmodem device , in linux with PHP Am sure it is /dev/ttyusb1 But with [URL="http://pastebin.com/aut4ygXf"]this code[/URL] device respond the same command and code prints that command e.g if we send ATD00

Re: [PHP] problem with sending AT command in php

2011-11-12 Thread a dehqan
dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out on Waiting for localhost ... . But dio_write($handle, "AT\n") makes it prints AT exactly the same command or A > A , .. On Sat, Nov 12, 2011 at 10:02 PM, Negin Nickparsa wrote: > are you sure about ATD03518726535\

Re: [PHP] problem with sending AT command in php

2011-11-15 Thread a dehqan
\n is for Linux \r is for Windows On 11/14/11, Richard Quadling wrote: > On 12 November 2011 20:02, a dehqan wrote: >> dio_write($handle, 'AT') & dio_write($handle, "AT") make firefox times out >> on Waiting for localhost ... . >> But dio_write($h

Re: [PHP] problem with sending AT command in php

2011-11-18 Thread a dehqan
Quadling wrote: > On 15 November 2011 15:12, Mike Mackintosh > wrote: > > > > > > On Nov 15, 2011, at 8:25, Richard Quadling wrote: > > > >> On 15 November 2011 11:50, a dehqan wrote: > >>> \n is for Linux > >>> \r is for Windows