¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Add transceiver (Kachina 595DSP) to flrig


 

¿ªÔÆÌåÓý

fldigi can perform both as an xmlrpc server and as a client (when operating with flrig).

kcat looks for the fldigi xmlrpc server and attaches without user intervention when the server is found.



In the kcat code:

void open_rig_xmlrpc()
{
??????? client = new XmlRpc::XmlRpcClient( "127.0.0.1", 7362 );
??????? // XmlRpc::setVerbosity(5);

??????? // Create a value suitable for the system.multicall method, which
??????? // accepts a single argument: an array of struct { methodName, params }
??????? // where methodName is a string and params is an array of method
??????? // arguments.? The params member is mandatory so we use a single-element
??????? // array containing nil.

??????? XmlRpcValue nil(XmlRpc::nil);
??????? status_query = new XmlRpcValue;
??????? const char* status_methods[] = {
??????????????? main_get_trx_state, main_get_frequency,
??????????????? rig_get_mode, rig_get_bandwidth
??????? };
??????? for (size_t i = 0; i < sizeof(status_methods)/sizeof(*status_methods); i++) {
??????????????? (*status_query)[0][i]["methodName"] = status_methods[i];
??????????????? (*status_query)[0][i]["params"][0] = nil;
??????? };
}


73, David

On 3/24/24 08:55, Bill, N7DZ wrote:

So - kcat does already have an xmlrpc server. Unadvertised and not configurable - but works pretty well. It listens on the port that fldigi uses by default (12345). I was getting confusing results because of running flrig concurrently, not knowing that it would interfere with kcat.?

So with kcat and fldigi on the screen, I can control frequency, mode, etc from either app, and fldigi can key the transmitter.?

Very nice. Thanks David for the hidden feature.?


Join [email protected] to automatically receive all group messages.