[Elecraft] K3 programming problem

david aj4tf at arrl.net
Mon Jan 30 20:38:25 EST 2012


Some links that may be helpful for you:

http://tldp.org/HOWTO/Serial-HOWTO.html

http://tldp.org/HOWTO/Serial-Programming-HOWTO/

73,
David AJ4TF


> ------------------------------
> 
> Message: 12
> Date: Sun, 29 Jan 2012 12:34:30 -0800 (PST)
> From: Neoklis Kyriazis <n5b4az at yahoo.com>
> Subject: [Elecraft] K3 programming problem
> To: "elecraft at mailman.qth.net" <elecraft at mailman.qth.net>
> Message-ID:
> 	<1327869270.92093.YahooMailNeo at web161804.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Hi
> 
> I have started adding support for the K3 in my ham radio applications for Linux.
> I am currently working with my xdemorse app which decodes Morse code via
> the sound card and can also control the transceiver (tune in a signal on the 
> 
> waterfall exactly by changing the frequency of the receiver).
> 
> Doing this involves reading the current VFO frequency, correcting it according
> to the offset from the center of the waterfall and then sending it to the K3 VFO.
> I have gotten all this to work well (I can tune in a CW signal to the nearest 1-2 Hz
> just by clicking near the trace!), but in order to read data from the K3 it was 
> 
> necessary to invoke the posix? read() command to pull data from the K3 one byte
> at a time, e.g. read( serial_fd, buffer, 1 ) enough times to read all the data (14
> times to read the frequency with the FA; command!).
> 
> Normally it should have been read( serial_fd, buffer, 14 ) to read all bytes, as it
> is done for the FT847/FT857 CAT. I would like to know if the above is the normal
> way to read the serial port of the K3 (e.g. one byte at a time), or if I am doing
> something wrong here.
> 
> My thanks in advance.
> 
> 
> ?
> Regards Neoklis - Ham Radio Call 5B4AZ
> QTH Locator KM64KR
> Website: http://www.qsl.net/5b4az/
> 
> 
> ------------------------------
> 
> Message: 13
> Date: Sun, 29 Jan 2012 15:51:13 -0600
> From: n5ge at n5ge.com



More information about the Elecraft mailing list