BrightAuthor:connected

Send a Serial Command on Receiving a UDP Message

1min
this page / section pertains to {{brightauthorconnected}} , our latest app for authoring and managing content and players for the legacy {{brightauthor classic}} app, refer to these links brightauthor classic docid\ av0cxmxbpmvcj7er4quvu , brightauthor classic docid\ d4ccoy1cpixccg5squceu , brightauthor classic docid\ yo5o7hck2ydata03vaahd this article shows how to send a serial command when a udp message is received by the player in a new presentation, under layout > zones, select add zone resize the zone, give it a name (for example, "event handler"), and under type , select audio only switch to the content tab and toggle from simple presentation to advanced presentation go to widgets and drag and drop the event handler widget into the playlist area 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 in event properties > specify udp input enter the udp input that the player will be listening for (for example, “amx command1") 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 ( serial send string with eol , serial send string without eol , or serial send byte ) once the udp input message is received enter the serial command string/value 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" 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)