Added YSF 'auto-link' feature
pull/122/head
LX3JL 6 years ago committed by SASANO Takayoshi
parent e091d2e666
commit 0170b41275

@ -181,6 +181,11 @@ void CYsfProtocol::Task(void)
// create the client
CYsfClient *newclient = new CYsfClient(Callsign, Ip);
// aautolink, if enabled
#if YSF_AUTOLINK_ENABLE
newclient->SetReflectorModule(YSF_AUTOLINK_MODULE);
#endif
// and append
clients->AddClient(newclient);
}

@ -3,7 +3,7 @@
// xlxd
//
// Created by Jean-Luc Deltombe (LX3JL) on 31/10/2015.
// Copyright © 2015-2019 Jean-Luc Deltombe (LX3JL). All rights reserved.
// Copyright © 2015 Jean-Luc Deltombe (LX3JL). All rights reserved.
//
// ----------------------------------------------------------------------------
// This file is part of xlxd.
@ -52,7 +52,7 @@
#define VERSION_MAJOR 2
#define VERSION_MINOR 3
#define VERSION_REVISION 1
#define VERSION_REVISION 2
// global ------------------------------------------------------
@ -123,6 +123,8 @@
#define YSF_KEEPALIVE_TIMEOUT (YSF_KEEPALIVE_PERIOD*10) // in seconds
#define YSF_DEFAULT_NODE_TX_FREQ 437000000 // in Hz
#define YSF_DEFAULT_NODE_RX_FREQ 437000000 // in Hz
#define YSF_AUTOLINK_ENABLE 0 // 1 = enable, 0 = disable auto-link
#define YSF_AUTOLINK_MODULE 'B' // module for client to auto-link to
// Transcoder server --------------------------------------------

Loading…
Cancel
Save

Powered by TurnKey Linux.