[arm-allstar] Numeric Keypad for mobile ops

Doug Crompton wa3dsp at gmail.com
Mon Jan 9 22:48:22 EST 2017


Simon,

I am not sure I understand. You have a mobile node so you are talking to it
with a radio. Why can't you use the DTMF pad on the radio to communicate?

If I assume you have a radio that does not have DTMF and you want to use
this pad to enter things. You could run a background script that starts at
boot and constantly looks at output from the keypad. Assuming it is a 0-9
*#  keypad then the script could look for a *<command># sequence and send
it to allstar via the client -   /usr/bin/asterisk "rpt fun node
$command"   where $command was the command formed from the keypad. * would
always start the command sequence and # would end. The script would look
roughly like this -

while true   (endless loop)
do
<process the keyboard input>
if *xxx# sequence found pass to asterisk
/usr/bin/asterisk "rpt fun node $command"
done

Not a hard thing to do assuming you have good communications via USB with
the keypad.



*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Mon, Jan 9, 2017 at 10:14 PM, "Simon Keys via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Hi all
>
> I purchased a cheap USB numeric keypad in the hope I could use it to enter
> node numbers into my mobile node.  I need to auto-login root and then run a
> simple shell script that waits for numeric input and then connects to the
> node after the <enter> key is pressed.
>
> Before I do any work on the script, has anyone done this already?  Anything
> you'd like to share?
>
> Thanks and Happy 2017 to all
> Simon ZL1OE
> _______________________________________________
>
> 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