[Rxtx] loopback puzzle
Dr. Douglas Lyon
lyon at docjava.com
Thu Sep 7 06:40:38 MDT 2006
Hi Steve,
If you hook up a phone line to your
built in phone jack on the mac, you will be able to
dial the phone. This is why you are getting an echo.
To see this, in action, with RXTX, use:
http://show.docjava.com:8086/book/cgij/code/jnlp/addbk.JAddressBook.Main.jnlp
Goto Preferences:SerialPort Setup and select the /dev/cu.modem.
If you add more serial ports (like keyspans 19-HS, etc..) you should
see them listed in the pop-down choice menu.
I use these devices to auto-dial the phone, with a long
distance card.
Now if I could only figure out how to monitize the application...
Cheers!
- Doug
>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