...
For more information about available methods, refer to the roSerialPort entry.
Use If possible, use @brightsign/serialport with the Node Package serialport instead of BSSerialPort. A basic reference implementation can be found in this GitHub repository.
...