Re: [Svxlink-devel] LogicLinking again
Brought to you by:
sm0svx
|
From: Tobias B. <sm...@us...> - 2011-10-29 13:11:48
|
On Monday 17 October 2011 17.48.57 Adi Bier wrote: > Hi Tobias, > > I think it's time for a review of my linking extension. I've changed it > completely according to your hints but have implemented it in a slight > different way, hope it's ok. Very interesting, Adi. We'll see when I can find some time to look at it. I have some other things I need to take care of first. I like the addition of the "auto connect on squelch open" feature. 73's de SM0SVX / Tobias > > Example configuration: > > [GLOBAL] > ... > LINKS=Link1,Link2,Link3 > ... > > 1) typical example for 2 repeaters, from 2m the command 271 connects the > logics, from 70cm the command 721 connects it. 270 (2m) and 720 (70cm) > disconnects it. > [Link1] > LINKNAME=Test1 > #OPTIONS= > TIMEOUT=600 # in seconds > CONNECT_LOGICS=Repeater2m:27,Repeater70cm:72 # format: logicname:command > > 2) the both repeaters are "hardlinked" from startup, no user interaction > is possible > [Link2] > LINKNAME=Test2 > OPTIONS=DEFAULT_CONNECT,NO_DISCONNECT # connects configured logics at > startup, no disconnect possible > #TIMEOUT=600 # has no function here > CONNECT_LOGICS=Repeater2m:0,Repeater70cm:0 # commands make no sense here > > 3) autoconnect the logics if we have traffic on MicSpkr, the idea behind > is to provide a way to make an announcement if you only have a > MicSpkrLogic without a DTMF-Panel > [Link3] > LINKNAME=MikSpkr > AUTOCONNECT_ON_SQL=MikSpkrLogic # connects if we have traffic on 2m > (only) > TIMEOUT=600 # disconnects the logics if no traffic > CONNECT_LOGICS=MicSpkrLogic:0,Repeater2m:0,Repeater70cm:0 # commands > make no sense here > > The config is stored in a struct (linkCfg) that contains all we need > including the connect state. I think it's easier if you want to change > something at runtime and we keep the relation between the config params > and the actual link state. > > It's clear that the logiclinking branch is still not perfect at the > moment but it would be nice if you can take a closer look at it if you > have some time. We have running it here on DB0WSF for some weeks with at > 5 logics: 1 repeater, 2 MicSpkrLogics and 2 remotetrx's . I'm using here > all of the above named examples. > Thank you in advance. > > vy 73's de Adi, DL1HRC |