DTMF codes to activate function

From: Matt Beasant <g4rky@yahoo.co.uk>
Date: 2009/05/26 Tue PM 02:21:09 PDT
To: Stephen Rodgers <hwstar@rodgers.sdcoxmail.com>
CC: app_rpt <app_rpt-users@qrvc.com>
Subject: DTMF codes to activate function

Hi,

Just as a heads up to anyone new reading this and learning about app_rpt and
also as a question to the more experienced node owners out there, I have
noticed a little niggle with the DTMF tone sequences used to activate
functions on app_rpt.

Here's the scenario:

In my rpt.conf I have a function:

94 = cop,something or other

All is fine until I try and add a command 941 to do something else.

The new code wont work and app_rpt seems to ignore the extra digit on the
end and just activates the function that is associated with the code 94.

I'm not sure if this is really a bug or not but it certainly had me teased
for a good few hours recently when I was adding some new functions to my
node.

I was expecting code 941 to work but it just wasnt - I was testing a new
feature which had been added and I wasnt sure if I had busted the feature or
something else had gone wrong!

I changed the code to 95 and all worked as expected!

Just something to be aware of really I guess unless its an easy fix for the
app?

Cheers,

Matt
G4RKY
Node 2250

Not! Once a match is found, its over!

The function decoder will match on the shortest DTMF command first. All digits which follow will be directed to the "method" for further decoding until the method thinks it has enough digits to do something useful. The function method is the numerical value for the class of functions (e.g. COP) as documented in app_rpt.c

This is how the autopatch, and internet linking commands work with variable length node numbers and phone numbers. (And it is the only way something with a variable number of digits can work).

To use the function decoder effectively:

1. Make sure your most used functions are short digit sequences, and your least used functions are long digit sequences.

2. Make sure your function table does not have any short DTMF functions overriding longer DTMF functions.

Steve
WA6ZFT

Thanks to Steve, Jim and everyone for being so patient with me! You can all tell that I’m not a programmer by now huh?

I’ve got it cracked now though.

Now that I understand what I’ve learned this evening I’ve also made the macro’s work including the startup macro, which works how Steve has described below. Great Stuff!

Also the link activity timer is working well and I’ve got the sitenorm announcement in the macro too!

Another day, another thing learned and my node just keeps on getting better thanks to the hard work you guys who write the code are doing, so thanks to you all!

Best wishes all,

Matt

G4RKY

···

2009/5/27 hwstar@rodgers.sdcoxmail.com

From: Matt Beasant g4rky@yahoo.co.uk

Date: 2009/05/26 Tue PM 02:21:09 PDT

To: Stephen Rodgers hwstar@rodgers.sdcoxmail.com

CC: app_rpt app_rpt-users@qrvc.com

Subject: DTMF codes to activate function

Hi,

Just as a heads up to anyone new reading this and learning about app_rpt and

also as a question to the more experienced node owners out there, I have

noticed a little niggle with the DTMF tone sequences used to activate

functions on app_rpt.

Here’s the scenario:

In my rpt.conf I have a function:

94 = cop,something or other

All is fine until I try and add a command 941 to do something else.

The new code wont work and app_rpt seems to ignore the extra digit on the

end and just activates the function that is associated with the code 94.

I’m not sure if this is really a bug or not but it certainly had me teased

for a good few hours recently when I was adding some new functions to my

node.

I was expecting code 941 to work but it just wasnt - I was testing a new

feature which had been added and I wasnt sure if I had busted the feature or

something else had gone wrong!

I changed the code to 95 and all worked as expected!

Just something to be aware of really I guess unless its an easy fix for the

app?

Cheers,

Matt

G4RKY

Node 2250

Not! Once a match is found, its over!

The function decoder will match on the shortest DTMF command first. All digits which follow will be directed to the “method” for further decoding until the method thinks it has enough digits to do something useful. The function method is the numerical value for the class of functions (e.g. COP) as documented in app_rpt.c

This is how the autopatch, and internet linking commands work with variable length node numbers and phone numbers. (And it is the only way something with a variable number of digits can work).

To use the function decoder effectively:

  1. Make sure your most used functions are short digit sequences, and your least used functions are long digit sequences.

  2. Make sure your function table does not have any short DTMF functions overriding longer DTMF functions.

Steve

WA6ZFT


App_rpt-users mailing list

App_rpt-users@qrvc.com

http://qrvc.com/mailman/listinfo/app_rpt-users