Re: [Hamlib-developer] rigctl send_cmd
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Bill S. <g4...@cl...> - 2018-02-06 09:45:59
|
On 06/02/2018 02:26, Jere Sandidge wrote: > I have been looking at the source code and I don't see any send_cmd functions in the Yaesu ft991.c code, however these functions are in the ft897.c file. Unless I am wrong, this might be why 'send_cmd FA;' outputs zero bytes. I will have to study the ft897.c file to see if I can modify the ft991.c source to include these functions. Hi Jere, the send command functionality is handled directly in the input parser (test/rigctl_parse.c) not by the individual back ends. It only makes sense for some rigs, others have binary protocols with fixed format input and output parameters. Only rigs with ASCII CAT protocols like the latest Yaesu and most Kenwood rigs can be used with the generic send_cmd (w) command. The code you see in the yaesu/ft897.c source is unrelated, it is just an internal function to send the low level commands used by the higher level back end implementations. 73 Bill G4WJS. |