Hello hamlib lovers,
Just a quick report with the latest hamlib CVS. I noticed
changes to the kenwood_transaction function, which causes failures
with xlog. The first few commands are OK, then a get rejects and
timeouts. Xlog polls the rig every 350 ms for information on
frequency, mode, ptt and s-meter (darn, wanted to test and commit
get_level(RFPOWER) for those extra xlog fields).
Failure starts with a reply to the second 'IF;' command
(used for get_ptt). Here is the trace, starting from the beginning:
TX 3 bytes
0000 46 52 3b FR;
RX 4 characters
0000 46 52 30 3b FR0;
TX 3 bytes
0000 46 52 3b FR;
RX 4 characters
0000 46 52 30 3b FR0;
TX 3 bytes
0000 46 41 3b FA;
RX 14 characters
0000 46 41 30 30 30 31 30 31 31 32 37 37 30 3b FA00010112770;
TX 3 bytes
0000 4d 44 3b MD;
RX 4 characters
0000 4d 44 33 3b MD3;
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 30 31 31 32 37 37 30 20 20 20 IF00010112770
0010 20 20 2d 30 30 31 36 30 30 20 39 39 30 33 30 30 -001600 990300
0020 30 30 30 38 20 3b 0008 ;
TX 3 bytes
0000 53 4d 3b SM;
RX 7 characters
0000 53 4d 30 30 30 36 3b SM0006;
TX 3 bytes
0000 46 52 3b FR;
RX 4 characters
0000 46 52 30 3b FR0;
TX 3 bytes
0000 46 41 3b FA;
RX 14 characters
0000 46 41 30 30 30 31 30 31 31 32 37 37 30 3b FA00010112770;
TX 3 bytes
0000 4d 44 3b MD;
RX 4 characters
0000 4d 44 33 3b MD3;
TX 3 bytes
0000 49 46 3b IF;
RX 3 characters
0000 49 46 30 IF0
kenwood_get_ptt: wrong answer len=3
TX 3 bytes
0000 53 4d 3b SM;
RX 2 characters
0000 53 4d SM
RX 1 characters
0000 30 0
read_string: timedout without reading a character
TX 3 bytes
0000 46 52 3b FR;
RX 4 characters
0000 46 52 30 3b FR0;
TX 3 bytes
0000 46 41 3b FA;
RX 14 characters
0000 46 41 30 30 30 31 30 31 31 32 37 37 30 3b FA00010112770;
TX 3 bytes
0000 4d 44 3b MD;
RX 4 characters
0000 4d 44 33 3b MD3;
TX 3 bytes
0000 49 46 3b IF;
RX 3 characters
0000 49 46 30 IF0
kenwood_get_ptt: wrong answer len=3
[...]
As you can see, response from the rig is incomplete in 2 out of 4 commands.
Maybe Stephane says "AHA!" here, but I sure don't, at least not after
I have studied the code more thorougly.
I will be happy to do more tests.
Regards,
Joop PA4TU
|