OT serial device "building blocks"
fedora at drussell.dnsalias.com
Sat Jan 21 06:23:56 UTC 2006
>On Fri, Jan 20, 2006 at 06:49:02PM -0800, Don Russell wrote:
>>I have googled for this but am not finding anything suitable...
>>I have an old modem (actually modem component with a serial interface)
>>that I want to use to monitor an analog phone line.
>>I was hoping I could find some code like a "black box" that I can send
>>commands (AT...) to, and it would give me the responses, and any
>>asynchronous mesages, such as the RING message etc.
>>Part of the problem is this little gizmo sends some data as ascii
>>characters, other data is sent as binary. (FSK data for things like the
>>caller id info, VMWI etc.)
>>I would like to use Perl, or C, but was hoping I wouldn't have to
>>re-invent the wheel to do the basic serial communications?
>>Does anybody have any suggestions, or good serial comms references you
>>can point me to?
>It might be possible to hack up something using ckermit. Kermit has
>a fairly powerful programming language, obtuse though it may be.
>Check out the kermit web pages at http://www.columbia.edu/kermit/
>for lots of documentation. I'd think you've probably already got
>kermit on your box, or at least on the CDROMs, though I haven't
>personally checked FCx for its presence, it is present on RHEL.
That's a good suggestion....I'll check it out.
More information about the users