---
title: Send a Serial Command on Receiving a UDP Message
slug: author/send-a-serial-command-on-receiving-a-udp-message
docTags: 
createdAt: 2025-03-11T06:58:09.585Z
---

:::hint{type="warning"}
This page / section pertains to BrightSign Author, our latest app for authoring and managing content and players. For the legacy BrightAuthor Classic app, refer to our [Legacy Docs](docId\:i5zF53DX56wdWDFHlRot1).
:::

This article shows how to send a serial command when a UDP message is received by the player.

::::WorkflowBlock
:::WorkflowBlockItem
In a new presentation, under **Layout** **> Zones,** select **Add Zone**.
:::

:::WorkflowBlockItem
Resize the zone, give it a name (for example, "Event Handler"), and under **Type**, select **Audio Only**.

![](https://api.archbee.com/api/optimize/0prk6SO2dy9LdU77jB8D1/shY9Thx6WIGN8HjkwXqx2_image.png)
:::

:::WorkflowBlockItem
Switch to the **Content** tab and toggle from Simple presentation to Advanced presentation.
:::

:::WorkflowBlockItem
Go to **Widgets** and drag and drop the **Event Handler** widget into the playlist area.
:::

:::WorkflowBlockItem
Under **Events**, select the **UDP** event to activate it, and then select the **Event Handler** state (make sure to click on the Event Handler text; it will highlight when you hover over it) to attach it, as shown in the image below.

![](https://api.archbee.com/api/optimize/0prk6SO2dy9LdU77jB8D1/yj9NvhDSZ4iwfke9QK3wD_image.png)
:::

:::WorkflowBlockItem
In **Event Properties > Specify UDP Input** enter the UDP input that the player will be listening for (for example, “AMX\_Command1").
:::

:::WorkflowBlockItem
With the state selected (notice that **Event** **Properties** turns to **State** **Properties**), select **Add Command** in the **Advanced** tab.

- Select the type of serial command to send - **Send serial string (EOL)**, **Send serial string (no EOL)**, **Serial byte,&#x20;**&#x6F;r **Serial byte (comma-separated)** -once the UDP input message is received.
- Enter the serial command string/value.

![](https://api.archbee.com/api/optimize/0prk6SO2dy9LdU77jB8D1/2RYCX3SJkUYYSekJSuLKL_image.png)
:::

:::WorkflowBlockItem
Configure the serial port setting by navigating to **Presentation Settings > Interactive > Connectors**. The serial settings from this panel must match the serial settings of the device you would like the player to communicate with (i.e. Baud rate, Data bits, Parity, Stop bits, Protocol, Send EOL, Receive EOL). The 3.5mm serial connector on the player is referred to as "Port 0".
:::

:::WorkflowBlockItem
Go to **Presentation Settings > Interactive > Networking** and ensure the **UDP Destination Port** and **UDP Receiver Port** are set to the same value as your UDP controller (the AMX controller in these images).

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/S-NCMmeUoMebSKXcMvl4f_image-20240410-190746.png" size="50" width="621" height="1208" position="center" alt="image-20240410-190746.png" showCaption="false"}
:::
::::

