I have a use case where the users of a multiprotocol system can use either XLX or a TG. The op should have XLX enabled but be able to chose a default module of 'None' via the XLX Starup Module dropdown, which then translates to ' ' (blank space) in /etc/dmrgateway.
This is useful so the op could choose to easily access an XLX module via a Private Call but not automatically be connected a module that could interfere with their use of the same conference via a BM or TGIF TG if they don't remember to first disconnect from the module.
I have tested this config by manually editing /etc/dmrgateway. It works nicely and meets my requirements.
Please consider adding this possibly via the Configuration menu.
73
DMRGateway XLX Startup Module Dropdown Option
Re: DMRGateway XLX Startup Module Dropdown Option
Yes please this would be a great feature to add.
Re: DMRGateway XLX Startup Module Dropdown Option
Done and ready for you to test it.
Re: DMRGateway XLX Startup Module Dropdown Option
Fantastic, when I went to the config page it already said none!
Changed back and forth and working as desired.
Thank you and much appreciated.
73
Changed back and forth and working as desired.
Thank you and much appreciated.
73
Re: DMRGateway XLX Startup Module Dropdown Option
You are most welcome, <insert socially distanced virtual high five here>
Re: DMRGateway XLX Startup Module Dropdown Option
Hi Andy:
In the past few days this option stopped working. It had worked well for some months since implemented.
Now, even if Startup Module = None, the default module is connected to.
Please investigate when you have an opportunity.
Thank you.
73
In the past few days this option stopped working. It had worked well for some months since implemented.
Now, even if Startup Module = None, the default module is connected to.
Please investigate when you have an opportunity.
Thank you.
73
Re: DMRGateway XLX Startup Module Dropdown Option
Yep it seems the new build of the gateway didn't like that, updated it slightly, it appears any non alpha character will do for not connecting at startup.
update / enjoy.
update / enjoy.
Re: DMRGateway XLX Startup Module Dropdown Option
I used (didn't test on new versions though) to use/suggest an '@' symbol to accomplish that, even before the None option exist on pistar config page, I used to set in on expert mode, why '@' ?
If we look at DMRGateway.cpp we can see it calcs "TG" to link to like this:
m_xlxRoom = ((int(m_xlxModule) - 64U) + 4000U);
m_xlxModule is a char var with just the module letter that we set on config file,
ASCII values of 'A'=65, 'B'=66, ... 'Z'=90 and '@'=64
then A=4001, B=4002, ... Z=4026 and @=4000 --> the proper "TG" for unlinked?
using blank space ' ' char (ASCII: 32) should translate as 3968 and using '0' char (ASCII: 48) should translate as 3984, probably these, as well as some other char's, will also work as XLX may just ignore such numbers (didn't check it)...
If we look at DMRGateway.cpp we can see it calcs "TG" to link to like this:
m_xlxRoom = ((int(m_xlxModule) - 64U) + 4000U);
m_xlxModule is a char var with just the module letter that we set on config file,
ASCII values of 'A'=65, 'B'=66, ... 'Z'=90 and '@'=64
then A=4001, B=4002, ... Z=4026 and @=4000 --> the proper "TG" for unlinked?
using blank space ' ' char (ASCII: 32) should translate as 3968 and using '0' char (ASCII: 48) should translate as 3984, probably these, as well as some other char's, will also work as XLX may just ignore such numbers (didn't check it)...
Re: DMRGateway XLX Startup Module Dropdown Option
Interesting stuff, I didnt look closely, but that totally makes sense - and the lack of string conversion is not a surprise, its more efficient that way.CT2HRB wrote: ↑Tue Jun 08, 2021 12:30 am I used (didn't test on new versions though) to use/suggest an '@' symbol to accomplish that, even before the None option exist on pistar config page, I used to set in on expert mode, why '@' ?
If we look at DMRGateway.cpp we can see it calcs "TG" to link to like this:
m_xlxRoom = ((int(m_xlxModule) - 64U) + 4000U);
m_xlxModule is a char var with just the module letter that we set on config file,
ASCII values of 'A'=65, 'B'=66, ... 'Z'=90 and '@'=64
then A=4001, B=4002, ... Z=4026 and @=4000 --> the proper "TG" for unlinked?
using blank space ' ' char (ASCII: 32) should translate as 3968 and using '0' char (ASCII: 48) should translate as 3984, probably these, as well as some other char's, will also work as XLX may just ignore such numbers (didn't check it)...
Dashboard moved over to use "@" instead, thank you.
Re: DMRGateway XLX Startup Module Dropdown Option
Tested and working on a couple of hotspots here.
Thank you for the analysis and quick response!
73
Thank you for the analysis and quick response!
73