Re: problem with sending AT command in php

From: Date: Mon, 14 Nov 2011 12:46:05 +0000
Subject: Re: problem with sending AT command in php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-315676@lists.php.net to get a copy of this message
On 12 November 2011 20:02, a dehqan <dehqan65@gmail.com> wrote: > 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  Atttt > Atttt , .. > > On Sat, Nov 12, 2011 at 10:02 PM, Negin Nickparsa <nickparsa@gmail.com>wrote: > >> are you sure about ATD03518726535\n? >> >>  can you try if ( dio_write($handle, 'AT') )? >> > Don't use \n, use \r. http://en.wikipedia.org/wiki/AT_commands#Example_session -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370

« previous php.general (#315676) next »