Prime Directive (see Star Trek, the original series)
OK, I do what you do at first (send the received data into an EditField), but I
was unhappy whith that:
ATI4
Apple Internal Modem
OK
So, I added a ListBox with some Cells and (try to) place the returned values
there.
Not funnily, sometimes I get:
ATI4Apple Internal ModemOK
sometimes:
ATI4Apple Internal Modem OK
sometimes:
ATI4 Apple Internal ModemOK
and rarely I get:
ATI4 Apple Internal Modem OK
since I didn't know how to ask the question to get a real answer (did you deal
with the \return characters ? Yes Man! I did it! In fact, these are
EndOfLine.Windows - as far as I can tell -), I tryed whis what you read earlier,
sorry.
BTW: I get - for ATI0 - 960. What values did you get ?
PowerBook G4 15" 1.5GHz / 8-2004 (earlier model, buy I buy it in mid August
2004)
Emile
[EMAIL PROTECTED] wrote:
Subject: Re: Working with the serial port (modem)
From: Thomas Cunningham <[EMAIL PROTECTED]>
Date: Sun, 23 Apr 2006 13:59:07 -1000
> PS: why DataAvailable is fired so many times after a single call ?
This appears to be the behavior of the modem. I've been following this
thread and wrote a little demo that dials up my ISP. The modem sends back
the instruction sent and a response. Mine looks like this:
ATZ
OK
ATI4
Apple Internal Modem
OK
ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
OK
ATM1L3
OK
ATDT 5555555
CONNECT 57600
I'm just using an editfield to examine the responses. I have to assume that
the DataAvailable event fires, well, when there is data available from the
modem. :)
_______________________________________________
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>