AllStarLink / app_rpt

Refactoring and upgrade of AllStarLink's app_rpt, etc.
8 stars 6 forks source link

app_rpt: Does not process GPIO events properly #210

Closed KB4MDD closed 1 year ago

KB4MDD commented 1 year ago

app_rpt is not processing the events for gpio cop command 61 and 62 properly.

The events are setup as:

[events1500]
cop,62,GPIO4:1 = c|t|RPT_RXKEYED
cop,62,GPIO4:0 = c|f|RPT_RXKEYED

Debug messages are showing the events being raised, but function_cop is not working.

After further investigation, it appears that several changes are needed to properly recognize the format GPIO%d:%d in app_rpt and rpt_functions.c. Further, the event routine is not passing argv[2] properly so that function_cop can act on that information.