Interface ChameleonSerialPort<I, O>
Type Parameters
- I extends Buffer = Buffer
- O extends Buffer = Buffer
Properties
Optional
dfuWriteObject
dfuWriteObject?: ((buf: Buffer,
mtu?: number) => Promise<void>) Optional
isDfu
isDfu?: (() => boolean)
Optional
isOpen
isOpen?: (() => boolean)
readable
readable: null | ReadableStream<I> writable
writable: null | WritableStream<O>