|
I want write a software connect to K2 with cat.
but I have a question, Sb. help me please.
see below(CAT Document):
IF (Transceiver Information; GET only)
RSP format: IF[f]*****+yyyyrx*00tmvspb01*; where the fields are defined as follows:
[f] operating frequency, excluding any RIT/XIT offset (11 digits; see FA command)
* represents a space (BLANK, or ASCII 0x20)
+ either "+" or "-" (sign of RIT/XIT offset)
yyyy RIT/XIT offset in Hz (range is -9990 to +9990 Hz when computer-controlled)
r 1 if RIT is on, 0 if off
x 1 if XIT is on, 0 if off
t 1 if the K2 is in transmit mode, 0 if receive
m operating mode (see MD command)
v receive-mode VFO selection, 0 for VFO A, 1 for VFO B
s 1 if scan is in progress, 0 otherwise
p1 if the transceiver is in split mode, 0 otherwise
b basic RSP format: always 0
extended RSP format: 1 if the present IF response is due to a K2 band change and 0 otherwise
The fixed-value fields (space, 0, and 1) are provided for syntactic compatibility with existing software.
Which byte means Operation-Mode ?
byte[29] is Operation Mode,is this corret?
0_________1_________2_________3
0123456789012345678901234567890123456789
IF00000000000_____+YYYYRX*00TMVSPB01*
"IF00014270000_____+000000_00010000101*;
Sorry for my poor english.
|