The @brightsign/serialport object, exposed by the BrightSign OS on the player, allows integration with the player serial port to transmit and receive serial data. This is a serial port binding with support for the third-party Node SerialPort package. See About SerialPort | Node SerialPort for more information.
The @brightsign/serialport binding is used to initialize the serialport object’s underlying communication module through the binding
property.
The serialport module version(https://www.npmjs.com/package/serialport) is important:
BOS versions 9.0.129 and 8.5 and below should use serialport version 9.0.0.
Newer BOS versions should use serialport version 11.0.0.
Example
See bs-node-serialport: master for a reference implementation.