Gareth Hancock

Results 117 comments of Gareth Hancock

I guess the safest option is to add it to the type definition in case people are using it... on a similar basis I wonder if making it optional and...

I wonder if this could be similar to the issue in [this thread](https://openbuilds.com/threads/blackbox-while-running-stops-and-says-access-denied.14146/) there seem to be suggestions to disable the "USB Selective Suspect" setting, or rollback a problematic windows...

If I'm reading the code snippets correctly I think you are continually adding (and removing) event listeners. Would it not be possible to add the on data event listener when...

My mistake it thought you were adding the lister each time you were writing data

In your simplified example code, are you able to confirm if they continue to see Electron growing continually if you leave it running for longer. When I try this I...

Hmm, do we need to look at changing the _writev function too? https://github.com/serialport/node-serialport/blob/0585e64b7b3a353f6d5427c405ba4a0dd989563a/packages/stream/lib/index.ts#L275

You should be able to achieve this with node-serialport across Win, Linux and Mac with the same javascript code for all 3 platforms. I'm using a device that uses DTR...

Adding a link to https://github.com/serialport/node-serialport/issues/1690 for visibility, as it seems to be related

Are you able to check if you get the same issues on Node V18? This could be related to the other issues being investigated for node v20 on Linux (https://github.com/serialport/node-serialport/issues/2656)