OT serial device "building blocks"

fredex fredex at fcshome.stoneham.ma.us
Sat Jan 21 03:49:37 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?
> 
> Thanks,
> Don

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.

Fred
-- 
-------------------------------------------------------------------------------
 .----    Fred Smith   /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: fredex at fcshome.stoneham.ma.us 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060120/dd467dbc/attachment-0001.sig>


More information about the fedora-list mailing list