[OZAPRS] Serial Programming Linux

Hamish Moffatt hamish at cloud.net.au
Fri Aug 25 09:16:18 EST 2006


On Fri, Aug 25, 2006 at 07:42:01AM +1000, Andrew Rich wrote:
> Any good at either perl or C programming for serial port routines ?
> 
> I need tx and rx.

It's not hard. Here's an example - it's a program I wrote which emulates
an FT-847's CAT interface.

You pretty much just read from /dev/ttyS0 (Sn). But there are some
special functions to set the baud rate etc.

Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://second.aprs.net.au/pipermail/ozaprs/attachments/20060825/7b490eee/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cat_emu.c
Type: text/x-csrc
Size: 3716 bytes
Desc: not available
Url : http://second.aprs.net.au/pipermail/ozaprs/attachments/20060825/7b490eee/attachment.c 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT10457.txt
Url: http://second.aprs.net.au/pipermail/ozaprs/attachments/20060825/7b490eee/attachment.txt 


More information about the Ozaprs mailing list