[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]
Re: FT-847 frequency readback CAT command?
On Tuesday 15 January 2002 00:06, John P. Toscano wrote in "Re:
[amsat-bb] FT-847 frequency readback CAT command?":
> My documentation shows FOUR dummy bytes ahead of the opcode, not
> THREE dummy bytes as you have indicated (xx xx xx). Do you know
> something I don't? (Well, that goes without saying! I meant, do
> you know something about this exact topic that I don't???)
Gack! Well, I guess know that my comments don't match my code. :-)
Like that never happens...
Here's what followed that oops in my code--you're right, of course--
and maybe I shouldn't have trimmed it out:
* reply: Q1 Q2 Q3 Q4 MM
* Q1-Q4:freq (see setFreq)
* MM:mode (see setOperMode)
**/
public int getFreq() throws IOException
{
byte freq[] = { 0, 0, 0, 0, 0};
byte getFreq[] = { 0, 0, 0, 0, (byte)0x03 };
CATin.write(getFreq);
CATout.read(freq);
return unpackFreq(freq) ;
}
> Otherwise, my documenation matches your suggestions.
Otherwise, my code matches your documentation. :-) All CAT command
codes are five bytes long. Thanks for the spotting my error. Lo siento
mucho, Fernando.
73 de Maggie K3XS
--
-----/___. _) Margaret Stephanie Leber / "The art of progress /
----/(, /| /| http://voicenet.com/~maggie / consists of preserving/
---/ / | / | _ _ _ ` _AOPA 925383/ order amid change and /
--/ ) / |/ |_(_(_(_/_(_/__(__(/_ FN20hd / change amid order." /
-/ (_/ ' K3XS .-/ .-/ ARRL 39280 /___ --A.N.Whitehead ___/
/____ICQ 7161096_(_/_(_/__AMSAT 32844____/ <maggie@voicenet.com>
----
Via the amsat-bb mailing list at AMSAT.ORG courtesy of AMSAT-NA.
To unsubscribe, send "unsubscribe amsat-bb" to Majordomo@amsat.org
AMSAT Home