Skip to content

Commit

Permalink
Add parameter to FRN module to start with disabled RF
Browse files Browse the repository at this point in the history
  • Loading branch information
sh123 committed Jan 4, 2015
1 parent c80cf06 commit 3045348
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/doc/man/ModuleFrn.conf.5
Expand Up @@ -91,6 +91,10 @@ Network (room) where to connect, each server holds up to 32 networks (rooms).
.B FRN_DEBUG
Define to enable extensive module logging, including FRN request and response
printout.
.TP
.B DISABLE_RF
Define to disable sending voice from FRN to RIG. In other words, nothing will
be transmitted by radio (count be switched on by DTMF command later if needed)
.
.SH FRN NEW USER REGISTRATION
To register at FRN service it is possible to use native desktop client or just
Expand Down
4 changes: 3 additions & 1 deletion src/svxlink/modules/frn/ModuleFrn.conf
Expand Up @@ -4,7 +4,7 @@ PLUGIN_NAME=Frn
ID=4
TIMEOUT=300

; http://freeradionetwork.eu/frnprotocol.htm
; Details http://freeradionetwork.eu/frnprotocol.htm
SERVER=127.0.0.1
PORT=10024
VERSION=2014000
Expand All @@ -18,3 +18,5 @@ COUNTRY=Antarctica
CITY_CITY_PART="City - Street"
NET=Test

;FRN_DEBUG=1
;DISABLE_RF=1
3 changes: 3 additions & 0 deletions src/svxlink/modules/frn/QsoFrn.cpp
Expand Up @@ -151,6 +151,9 @@ QsoFrn::QsoFrn(ModuleFrn *module)
if (cfg.getValue(cfg_name, "FRN_DEBUG", opt_frn_debug))
cout << "frn debugging is enabled" << endl;

if (cfg.getValue(cfg_name, "DISABLE_RF", is_rf_disabled))
cout << "rf is disabled" << endl;

if (!cfg.getValue(cfg_name, "SERVER", opt_server))
{
cerr << "*** ERROR: Config variable " << cfg_name
Expand Down

0 comments on commit 3045348

Please sign in to comment.