andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

serial service #103

Closed andrewn closed 6 years ago

andrewn commented 6 years ago

Creates a serial port manager that can open and close several serial port connections in response to commands over the WebSocket broker. This means we don't need to set the desired serial port in the systemd config.

Once a serial port is opened, data recieved is emitted to subscribers over the WebSocket and string data can be sent through too.

node-serialport is used to provide the underlying connection.