Use Serial / UDP commands
5 min
brightsign players support sending and receiving unlimited serial and udp commands to set up the player to receive these commands, you must define the serial/udp strings in brightauthor\ connected the strings can be used to switch from one file to another, pause, resume, change volume, send output, etc brightsign players also support http communication over tcp through custom scripts udp (ethernet/wireless) commands udp command use for brightauthor\ connected is described in this video related pages include variables docid\ a6ali6u szxhuansk6t3 send a serial command on receiving a udp message docid\ bsdmfhjelfvz8zvepqxya see here docid\ a6ali6u szxhuansk6t3 for how to set the udp destination port and udp receiver port serial commands brightsign players with a serial port support the sending and receiving of bytes as well as strings (see the this faq docid\ wh5jszpx3mpn06c12zz4n for more info) when sending or receiving bytes, you must use decimal values many websites have tools for converting between decimal, hex, and ascii values (see here https //www easycalculation com/hex converter php or here https //www asciitable com/ ) you can also use a standard windows calculator (select programmer mode in view ) to convert between hex and decimal to send bytes from a player over the serial port, use the send serial byte or send serial bytes (comma separated) commands in brightauthor\ connected (you can also use a custom script) this is the same option you would use for sending hex commands docid\ us6qflvae7voii ncclep in brightauthor\ connected, you must select an advanced zone and use the commands (available under the advanced tab of a state or event) to send a byte or bytes the serial protocol should be set to ascii mode under the presentation settings > interactive > connectors tab in a presentation you can also receive bytes by setting the serial protocol to binary mode in presentation settings > interactive > connectors in a presentation you can then use serial input events to trigger transitions and other events in an interactive playlist separate the serial values with a comma within the specify serial input field, for example, "31 0d" in hex would be "49,13" in decimal scripts you can also control a player through a script the sample control script below defines a fixed set of playback commands (play, stop, search, loop, pause, resume, etc), and a readme just copy the autorun brs script and your content to a microsd card, and you're ready to send/receive commands the script also provides feedback when a command is received, when a file is found, when a file loops, etc