Version: 8.x.x
Slip Encoder Parser
A transform stream that emits SLIP-encoded data for each incoming packet. Unlike most parsers this one is useful for processing input to the serialport instead of output.
Runs in O(n) time, adding a 0xC0 character at the end of each received packet and escaping characters, according to RFC 1055. Runs in O(n) time.
Arguments:
options.bluetoothQuirk: boolean
Adds another 0xC0 character at the beginning if thebluetoothQuirk
option is truthy (as per the Bluetooth Core Specification 4.0, Volume 4, Part D, Chapter 3 "SLIP Layer")