This article demonstrates how to send a serial command when a UDP message is received by the player.
...
Create In a new presentation.Under , under Layout > Zones click Zones, select Add Zone. Resize the zone and give it a name. In the image above, we’ve named the zone "Event Handler."
Under Properties > Type set the zone to an Audio zone.
Switch to the Content tab.
Make the presentation interactive by toggling the Interactive switch to on.
Navigate to Widgets and drag and drop the Event Handler widget into the playlist area.
Under Events, click the UDP event to activate it, and then click on the Event Handler state to attach it, as shown in the image below
In Event Properties > Specify UDP Input enter the UDP input that the player will be listening for (e.g., “AMX_Command1").
...