[Rxtx] loopback puzzle

Joachim Buechse joachim at buechse.de
Wed Sep 6 11:15:06 MDT 2006


ATI0 is a standard hayes command. Crtl-M (instead of simply return)  
is needed on the mac so that the modem accepts it as a command. The  
modem will respond with it's version info. This shows that you are  
not just talking to a cable but to an "inteligent lifeform" ;-)

Best regards,
Joachim

---
Joachim Büchse
Softwarelösungen und Beratung
Hadlaubsteig 2
CH-8006 Zürich


On 06.09.2006, at 17:47, Dr. Stephen Judd wrote:

> hmmmmm. That was cryptic. "AT capital-I zero <Ctrl-M>" means nothing
> to me,
> even after another half hour exploring.
>
> However, ";-)" does mean something. Perhaps I should check with you
> again.
> sj
>
> On 2006 Sep 6, at 10:55 AM, Joachim Buechse wrote:
>
>> There is an internal modem connected to this port... that's the
>> device responding to you requests. Try AT I0 <Ctrl-M> ;-)
>>
>> On 06.09.2006, at 16:49, Dr. Stephen Judd wrote:
>>
>>> I used all the options available, and all had the same effect.
>>> I stuck in a loop that ran through the ports enumerated by
>>> CommPortIdentifier.getPortIdentifiers()
>>> and there are only 2 of them: /dev/cu.modem and /dev/tty.modem
>>> both of which are of "type 1" and have no "owner".
>>>
>>> The way you phrase your question leads me to believe there is
>>> something notoriously obvious about cu.modem, but Google is not
>>> making anything obvious for me. Please explain.
>>> sj
>>>
>>>
>>> On 2006 Sep 6, at 9:59 AM, Joachim Buechse wrote:
>>>
>>>> You are not by any chance using the cu.modem port?
>>>>
>>>> On 06.09.2006, at 15:26, Dr. Stephen Judd wrote:
>>>>
>>>>> I am trying to understand basic things about serial ports on the
>>>>> Mac.
>>>>> The SerialDemo.java program from Sun's javax.CommPort program
>>>>> displays 2 panels: characters going out to a port, and characters
>>>>> coming in from it. Question: if I have nothing attached to the
>>>>> port,
>>>>> why does anything get echoed from the outgoing panel to the
>>>>> incoming
>>>>> one? My mental model says nothing should happen until there is
>>>>> some hardware attached to the port.
>>>>>
>>>>> Nothing I have looked for in the code tells me there is any
>>>>> software
>>>>> connection between the outgoing and incoming streams.
>>>>> Please tell me what is broken in my brain.
>>>>> sj
>>>
>>>
>>> _______________________________________________
>>> Rxtx mailing list
>>> Rxtx at qbang.org
>>> http://mailman.qbang.org/mailman/listinfo/rxtx
>>
>> _______________________________________________
>> Rxtx mailing list
>> Rxtx at qbang.org
>> http://mailman.qbang.org/mailman/listinfo/rxtx
>
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx





More information about the Rxtx mailing list