xlxd 2.3.2

Added YSF 'auto-link' feature
This commit is contained in:
LX3JL 2019-11-17 10:14:56 +01:00
parent 728b530a20
commit 6749775430
2 changed files with 9 additions and 2 deletions

View File

@ -176,6 +176,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);
}

View File

@ -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.
@ -49,7 +49,7 @@
#define VERSION_MAJOR 2
#define VERSION_MINOR 3
#define VERSION_REVISION 1
#define VERSION_REVISION 2
// global ------------------------------------------------------
@ -120,6 +120,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 --------------------------------------------