Open
Description
SerialPort Version
12.0.0
Node Version
v18.14.2
Electron Version
30.0.1
Platform
Microsoft Windows NT 10.0.19045.0 x64
Architecture
x64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
- Open new
SerialPort
instance for COM port of UART over USB device - See no data being read
- Force read with
.read
returnsnull
- Force read with
- Cross-check code on a standard UART device on a different COM port and data is seen
- Cross-check with PuTTY for UART over USB device and data is seen
- Potentially buffered differently; large dump of historical data when opening PuTTY
const port = new SerialPort({
path: portPath,
baudRate: 115200,
});
const parser = port.pipe(new ReadlineParser({ delimiter: "\n" }));
parser.on("data", (data) => {
console.log(data);
}
UART over USB driver (no data seen from SerialPort
):
Another random UART device driver (works as expected):
What happens?
No data events or data available to read
What should have happened?
Data events should be flowing along pipe
Additional information
Only occurs on Windows, same device under Mac or Linux (Ubuntu) works as expected. Shows as a ttyACM
device
Metadata
Metadata
Assignees
Labels
No labels