php-general Digest 19 Nov 2011 08:14:54 -0000 Issue 7575

Topics (messages 315749 through 315752):

Re: Sniping on the List
        315749 by: Fredric L. Rice
        315751 by: Robert Cummings
        315752 by: Lester Caine

Re: problem with sending AT command in php
        315750 by: a dehqan

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
rc> Thus before the big bang is perfectly
rc> valid whether we could perceive it or not.
ts> Not really. It's as meaningless as asking
ts> what's north of the North Pole.

That's an interesting point. If you stand at the North Pole where all
lines of reference converge, there is still Galactic North and True North
if one's reference frame is Magnetic North. There are no privelaged frames
of references UNLESS there is only ONE singular frame of reference.

The Big Bang is a singularity event, there were no reference points in
existance until the Big Bang, ergo you're so right, even saying "before
the Big Bang" isn't even wrong. :)



--- End Message ---
--- Begin Message ---
On 11-11-18 10:03 AM, Curtis Maurand wrote:


Robert Cummings wrote:
Robert Cummings wrote:


Given the discussion, I think the following is in order: BAZINGA * 2

  And what does any of this have to do with PHP?  It's time to
end this thread.

It's Friday... traditionally content anal-ness has been somewhat disregarded on this day. Need one go through the archives to see if you're being a tad hypocritical?

Cheese,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--- End Message ---
--- Begin Message ---
Robert Cummings wrote:
It's Friday... traditionally content anal-ness has been somewhat disregarded on
this day. Need one go through the archives to see if you're being a tad
hypocritical?

Although it only seems to be this latest thread that seems to have got totally OTT even for a Friday. And I think 'Friday Distraction' is a fairly recent development that was never every Friday ... I have the archive since 2004 on-line here and it sort of started on 09, but there were only a few each year - usually over the summer? And most of them were realistic tangential discussions rather than totally anal. Personally, this last one has become irritating and obviously others find the same thing?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--- End Message ---
--- Begin Message ---
In The Name Of Allah

Thank you all for attentions ;
Weird but solved with using another symbolink of Device
Weird because other App in linux in the same time were using for example
/dev/ttyusb1 but php code works with /dev/ttyusb3 ..

Regards dehqan


On Tue, Nov 15, 2011 at 7:39 PM, Richard Quadling <rquadl...@gmail.com>wrote:

> On 15 November 2011 15:12, Mike Mackintosh
> <mike.mackint...@angrystatic.com> wrote:
> >
> >
> > On Nov 15, 2011, at 8:25, Richard Quadling <rquadl...@gmail.com> wrote:
> >
> >> On 15 November 2011 11:50, a dehqan <dehqa...@gmail.com> wrote:
> >>> \n is for Linux
> >>> \r is for Windows
> >>>
> >>> On 11/14/11, Richard Quadling <rquadl...@gmail.com> wrote:
> >>>> On 12 November 2011 20:02, a dehqan <dehqa...@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
> >>>>> <nickpa...@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
> >>>>
> >>>
> >>
> >> No, \r is the requirement of the modem. Nothing to do with the OS.
> >>
> >> Windows uses \r\n as its line terminators, but when you talk to a
> >> modem, you use \r.
> >>
> >>
> >>
> >> --
> >> 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
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
> >
> > I've had better luck with PHP_EOL instead of \r or \n.
>
> I think I've not explained myself properly.
>
> The modem wants a carriage return. That is a \r.
>
> It doesn't matter what OS you are on. If you don't send the right
> string to the modem, then the modem won't process it properly.
>
> If your OS maps \r to PHP_EOL, then, obviously PHP_EOL will be just
> fine. But I would recommend ...
>
> <?php
> define('CR', chr(13));
> ?>
>
>
>
> --
> 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
>

--- End Message ---

Reply via email to