[arm-allstar] How to Set Up a Kenwood TS-2000 as a Remote Base
Doug Crompton
wa3dsp at gmail.com
Sun Feb 17 23:02:17 EST 2019
John,
Hamlib is the way to go. Get it working with it first. hamlib is already
in the SW so you can test it on your server via USB.
Once all is working then you will have to create the commands in a script.
This is something I have on my list to do but if anyone wants to tackle it
please do. Basically a script that has all the pertinent hamlib commands.
This would be mapped to DTMF commands. Then there would be a standard set
of commands for any rig.
Right now the best way to do this is the autopatch interface as describe in
this howto at hamvoip.org -
https://www.hamvoip.org/Allstar_extended_functions_using_autopatch.pdf
This allows you to create a dialplan through the extensions file to pass to
a script. So something like -
*6201147030 would change a rig frequency to 147.03
*62 indicates DTMF pass through to the extensions file. 01147030 is
passed to the script.
the first two digits are stripped in the script and become the command thus
giving the option of 100 commands - 00-99. Here the command 01 indicates a
frequency change command (F in hamlib) and 147030 is the frequency.
For commands that return a response you would use the Allstar localplay
command. So again as an example if you DTMF'ed the following -
*6202
The 02 command could be hamlib (rigctl) lowercase f which would playback
the frequency of the radio when you unkeyed.
To test in a very simple form you could directly call a script from a
function line in rpt.conf but this would have to to be a separate function
for each frequency or command. A way to test but not a long term solution.
This of course is just an example. The idea is to get all of the outdated
and buggy remote stuff out of the Allstar code which we will be doing soon.
Having it in a user script makes it much more flexible.
If you have any questions about this don't hesitate to ask.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sun, Feb 17, 2019 at 10:42 PM "John via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Greetings to the group,
>
> I am using a RPi2 running Hamvoip 1.5rc19, and attempting to configure a
> Kenwood TS-2000 as a remote base, but am not sure how Allstar is configured
> to control the radio itself through its TTY port.
>
> I am able to control the radio using Hamlib rigctld, bit not sure the best
> way to translate DTMF commands from the Allstar user to set the various
> parameters on the TS2000.
>
> Is there an organic way to do this from within Allstar, using its
> remote-base function, or do I need to write DTMF function macros to execute
> shell commands to rigctld to change parameters, and then use the URi
> interface for audio and PTT? But then isn't it the same as a regular (non
> remote-base) node?
>
> So I believe my basic question is: in remote-base mode, how do the various
> incoming DTMF control codes get translated to the rig control data stream
> and where does that present itself on the node?
>
> Any theory of operation for the remote base functionality would be most
> appreciated.
>
> Thanks,
> John N1CTF
>
> John R. Chartkoff
> Columbus, Ohio
> Cell: 850-902-1147
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list