Hi all,

I have just realized a DTMF software decoder in C that works on Linux and
grabs its input via soundcard. I want to utilize it to develop a vocal
radio BBS activable via DTMF tones so i need to pilot my transciver to let
it start/stop trasmitting. I have already a soundmodem for packet that do
this work via serial port, so I have watched soundmodem sources to
understand how it is possible to set/unset signal lines of a serial port
under linux (i have not much experience about this programming task). I
think that right way is to use "outb" stantment how follow: 

#define iobase 0x2f8 #define UART_LCR(iobase) (iobase+3) 

if (ioperm(UART_LCR(iobase), 1, 1)) {
    perror("ioperm"); 
    exit(1);  } outb(0x40, UART_LCR(iobase));  // ptt on

With above stantments, soundmodem tx-led switchs on so i think this is a
right way to set RTS signal but my transciver don't start to trasmit! (i
have checked: soundmodem is OK and works correctly for packet). 

I have done numerous attempts like this but transciver never trasmits and
i really don't know why.

Finally, my question to all you with more C experience than me is :  how
can I set/unset RTS serial signal in order to start/stop transciver
trasmission ? 

Any help will be very appreciated, please redirect your answer to my
personal email-address too. 

Andrea Barbaresi ---------------------------------------------------------
E-mail:         [EMAIL PROTECTED]
                (start e-mail subject with "SMS>" for email->SMS gateway) 
Packet:         [EMAIL PROTECTED] 
AX-25/TCP-IP:   barban.linux.it [44.134.240.83]
                144.900 MHz Ancona,Italy (N43.36'-E13.30')  
PGP Public Key: finger my address 
----------------------------- Linux: the choice of a GNU generation. -----










Reply via email to