The script API exposes the radio's behaviour to other resources running on your server. It comes in three flavours:
- Incoming events — events you fire from your code that the radio handles.
- Outgoing events — events the radio fires that you can listen for.
- Console commands — commands you can bind to keys or invoke from
ExecuteCommand.
If you're new to the radio, the Subscriber ID and Codeplug concept pages are the right place to start.
¶ Console Commands
- Keyboard & Automation Commands — display, focus, PTT, channel / zone step, volume, soft buttons, emergency. Intended primarily for keyboard binding and scripted automation.
- doRadioCommand — dispatcher for settings toggles, debug helpers, and tower-coverage visualisations
- getRadioID — show the current Subscriber ID in a notification
- setRadioAgency — switch agencies from the F8 console
- trsResetEmergency — force-clear active emergency alarms on the current talkgroup
At this time, we do not natively support framework inventory systems. Listed below are some common (but not all) frameworks that exist that you can use to create an integration with SCNP25.