Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms


com.k3xs.JHamTune
Class YaesuFT847

java.lang.Object
  extended bycom.k3xs.JHamTune.YaesuFT847
All Implemented Interfaces:
JHTRadio

public class YaesuFT847
extends java.lang.Object
implements JHTRadio

JHamTune driver for the Yaesu FT-847 radio.

Version:
1.0
 Radio specs from the FT-847 manual:
  GENERAL 
 Frequency Range: Receive 100 kHz - 36.99 MHz 
 	37 - 76 MHz 
 	108 - 174 MHz 
 	420 - 512 MHz 
 Transmit 160 - 6 Meters 
 	2 Meters 70 Centimeters (Amateur bands only) 
 	5.1675 MHz (Alaska Emergency Channel) 
 Emission Modes: USB, LSB, CW, AM, FM, F1 (9600 bps Packet), F2 (1200 bps Packet), AFSK 
 Synthesizer Steps (Min.): 0.1 Hz (CW/SSB) 10 Hz (AM/FM) 
 
Author:
Margaret Leber k3xs@arrl.net

Constructor Summary
YaesuFT847(java.lang.String p)
           
 
Method Summary
 void connect()
          connect to the radio
 void disconnect()
          disconnect automatic control from the radio
 void finalize()
           
 java.lang.String getDriverName()
           
 int getFreq()
          get current frequency and mode.
 JHTMode getMode()
           
 java.lang.String getName()
           
 java.lang.String getPortName()
           
 java.util.Collection getRxBands()
           
 java.util.Collection getRxTxBands()
           
 int getSmeter()
           
 void setBand(JHTBand band)
          set all paramaters from a JHTBand
 void setDebug(boolean b)
           
 void setFreq(int freq)
          set main VFO frequency.
 void setMode(JHTMode mode)
           
 void setTone(JHTCTCSS tone)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YaesuFT847

public YaesuFT847(java.lang.String p)
Method Detail

finalize

public void finalize()

disconnect

public void disconnect()
disconnect automatic control from the radio

Specified by:
disconnect in interface JHTRadio

connect

public void connect()
Description copied from interface: JHTRadio
connect to the radio

Specified by:
connect in interface JHTRadio

setDebug

public void setDebug(boolean b)

setFreq

public void setFreq(int freq)
set main VFO frequency.
  CAT command word: Q1 Q2 Q3 Q4 01 set main VFO  
  CAT command word: Q1 Q2 Q3 Q4 11 set Sat RX VFO  
  CAT command word: Q1 Q2 Q3 Q4 21 set Sat TX VFO 
 
    Q1-Q4  are frequency to set in a goofy nybble-oriented BCD
     e.g.  to set 432.2705 MHz send "43 22 70 50"
 

Specified by:
setFreq in interface JHTRadio
Parameters:
freq - tune the radio to this frequency in Hz.

setBand

public void setBand(JHTBand band)
set all paramaters from a JHTBand

Specified by:
setBand in interface JHTRadio

setMode

public void setMode(JHTMode mode)
Specified by:
setMode in interface JHTRadio
Parameters:
mode - set the radio to this modulation mode.

setTone

public void setTone(JHTCTCSS tone)
Specified by:
setTone in interface JHTRadio
Parameters:
tone - set this CTCSS/PL tone encoding. (write only)

getSmeter

public int getSmeter()
Specified by:
getSmeter in interface JHTRadio
Returns:
the current signal strength (S-meter reading expressed 0-31)

getFreq

public int getFreq()
get current frequency and mode.
     
  CAT command word: xx xx xx xx 03 get   main VFO freq/mode
  CAT command word: xx xx xx xx 13 get sat RX VFO freq/mode
  CAT command word: xx xx xx xx 23 get sat TX VFO freq/mode
             reply: Q1 Q2 Q3 Q4 MM
                    Q1-Q4:freq (see setFreq)
                       MM:mode (see setOperMode)
  

Specified by:
getFreq in interface JHTRadio
Returns:
the current frequency in Hz

getMode

public JHTMode getMode()
Specified by:
getMode in interface JHTRadio
Returns:
the current modulation mode

getRxBands

public java.util.Collection getRxBands()
Specified by:
getRxBands in interface JHTRadio
Returns:
a Collection of receive-only JHTBands

getRxTxBands

public java.util.Collection getRxTxBands()
Specified by:
getRxTxBands in interface JHTRadio
Returns:
a Collection of transceive-capable JHTBands

getDriverName

public java.lang.String getDriverName()
Specified by:
getDriverName in interface JHTRadio
Returns:
the name for this radio

getPortName

public java.lang.String getPortName()
Specified by:
getPortName in interface JHTRadio
Returns:
the name for the port attaching this radio, or null if not connect()ed

getName

public java.lang.String getName()
Specified by:
getName in interface JHTRadio
Returns:
the name for this instance, usually driverName + " on " + port