COS LED on Masters Communications RA using GPIO8 ASL3

Setup Information

OS : Debian GNU/Linux 13 (trixie)
OS Kernel : 6.12.47+rpt-rpi-v8

Asterisk : 22.5.2+asl3-3.6.3-1.deb13
ASL [app_rpt] : 3.6.3

Inquiry

I am trying to get the COS light to work with ASL 3 on the Masters Communications RA-42M. Documentation here https://www.masterscommunications.com/products/radio-adapter/txt/aslconfiguration.txt I am a bit confused where to add the event and functions information cited below and if the syntax is still correct in ASL3.x.

{your node},*600 = f|t|RPT_RXKEYED
{your node},*601 = f|f|RPT_RXKEYED
600 = cop,62,GPIO8=1    ; Send Message to GPIO pin 8 - Turn on COS LED
601 = cop,62,GPIO8=0    ; Send Message to GPIO pin 8 - Turn off COS LED

From what I understand, the functions syntax has changed. Can someone point me in the right direction?

That doc is a little old/confusing. You need to do things with a stock ASL3 install:

If you can, use asl-menu and enable a node customization for that node number and select "Assert GPIO pin 8 when keyed (COS LED)". This is under AllStar Node Setup Menu -> Update Node nnnnn -> Customizations.

If you have to edit your config by hand, all you need is:

  1. Inside of /etc/asterisk/rpt.conf in your [events] stanza make sure these appear:

    [events]
    ;;;;; Events Management ;;;;;
    cop,62,GPIO8:1 = c|t|RPT_RXKEYED
    cop,62,GPIO8:0 = c|f|RPT_RXKEYED
    
  2. Inside of /etc/asterisk/simpleusb.conf add the following inside your node's configuration stanza:

    [63001](node-main)
    ; other stuff here
    gpio8 = out0