kopia lustrzana https://github.com/jamescoxon/dl-fldigi
Upstream version 3.04AB
rodzic
9cfa07997f
commit
5476c0e6ac
|
@ -1,8 +1,11 @@
|
|||
Change Log:
|
||||
|
||||
3.04
|
||||
1) Changes to irrxml functions; added main.set_sideband <USB/LSB>
|
||||
1) Changes to irrxml functions;
|
||||
added main.set_sideband <USB/LSB>
|
||||
added log.set_call <CALL>
|
||||
2) Change to macro timer implementation - bug fix for Windows
|
||||
3) Fixed bug in WFaveraging - save configuration
|
||||
|
||||
3.03
|
||||
1) Changes to socket server to correct shutdown process
|
||||
|
|
|
@ -9,7 +9,7 @@ dnl major and minor must be integers; patch may
|
|||
dnl contain other characters or be empty
|
||||
m4_define(FLDIGI_MAJOR, [3])
|
||||
m4_define(FLDIGI_MINOR, [0])
|
||||
m4_define(FLDIGI_PATCH, [4AA])
|
||||
m4_define(FLDIGI_PATCH, [4AB])
|
||||
|
||||
AC_INIT([fldigi], FLDIGI_MAJOR.FLDIGI_MINOR[FLDIGI_PATCH], [w1hkj AT w1hkj DOT com])
|
||||
|
||||
|
|
|
@ -662,12 +662,14 @@ public:
|
|||
string s = params.getString(0);
|
||||
if (progdefaults.chkUSERIGCATis)
|
||||
rigCAT_setmode(s);
|
||||
#if USE_HAMLIB
|
||||
else if (progdefaults.chkUSEHAMLIBis) {
|
||||
if (s == "LSB")
|
||||
hamlib_setmode(RIG_MODE_LSB);
|
||||
else
|
||||
hamlib_setmode(RIG_MODE_USB);
|
||||
}
|
||||
#endif
|
||||
else if (progdefaults.chkUSEXMLRPCis) {
|
||||
if (s == "USB") {
|
||||
wf->USB(true);
|
||||
|
@ -1195,6 +1197,22 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
class Log_set_call : public xmlrpc_c::method
|
||||
{
|
||||
public:
|
||||
Log_set_call()
|
||||
{
|
||||
_signature = "s:s";
|
||||
_help = "Sets the Call field contents.";
|
||||
}
|
||||
void execute(const xmlrpc_c::paramList& params, xmlrpc_c::value* retval)
|
||||
{
|
||||
string s = params.getString(0);
|
||||
inpCall->value(s.c_str());
|
||||
*retval = xmlrpc_c::value_string(inpCall->value());
|
||||
}
|
||||
};
|
||||
|
||||
class Log_get_name : public xmlrpc_c::method
|
||||
{
|
||||
public:
|
||||
|
@ -1532,6 +1550,7 @@ void XML_RPC_Server::add_methods(void)
|
|||
methods->push_back(rpc_method(new Log_get_locator, "log.get_locator"));
|
||||
methods->push_back(rpc_method(new Log_get_az, "log.get_az"));
|
||||
methods->push_back(rpc_method(new Log_clear, "log.clear"));
|
||||
methods->push_back(rpc_method(new Log_set_call, "log.set_call"));
|
||||
|
||||
methods->push_back(rpc_method(new Text_get_rx_length, "text.get_rx_length"));
|
||||
methods->push_back(rpc_method(new Text_get_rx, "text.get_rx"));
|
||||
|
|
Ładowanie…
Reference in New Issue