Skip to main content
Version: 7.x.x

ccTalk Parser

new CCTalk()

A transform stream that emits ccTalk packets as they are received.

Example

const SerialPort = require('serialport')
const CCTalk = require('@serialport/parser-cctalk')
const port = new SerialPort('/dev/ttyUSB0')

const parser = port.pipe(new CCTalk())
parser.on('data', console.log)