Re: [Hamlib-developer] RotorEZ 'p' command results
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Nate B. <n0...@ne...> - 2003-02-12 22:44:59
|
* Orv Beach <or...@or...> [2003 Feb 12 16:28 -0600]:
> TX 4 bytes
> 0000 41 49 31 3b AI1;
> RX 3 bytes
> 0000 3b 33 33 ;33
> TX 4 bytes
> 0000 41 49 31 3b AI1;
> RX 3 bytes
> 0000 33 3b 33 3;3
> TX 4 bytes
> 0000 41 49 31 3b AI1;
> RX 3 bytes
> 0000 33 33 3b 33;
Very interesting, Orv!
So, it appears the semi-colon is the first character of the returned
string. Of course it moves to the right on each successive read as
there are always characters left in the buffer from previous commands
(1, then 2, then 3, and so on).
Can you edit rotorez/rotorez.h, line 34 and change the line:
#define AZ_READ_LEN 3
to
#define AZ_READ_LEN 4
for me?
Then you should see consistent strings reported on the line below RX 4
bytes. It will do no harm to set it higher, say 5 or 6 as the read
function will merely have wait the time out time.
Please post that output and I should be able to fix it tonight.
73, de Nate >>
--
Wireless | Amateur Radio Station N0NB | "We have awakened a
Internet | n0...@ne... | sleeping giant and
Location | Bremen, Kansas USA EM19ov | have instilled in him
Amateur radio exams; ham radio; Linux info @ | a terrible resolve".
http://www.qsl.net/n0nb/ | - Admiral Yamamoto
|