garrows/browser-serialport

close / disconnect events not firing in win32

Opened this issue · 2 comments

I have an App with nwjs (0.15.3) that communicates to an Arduino board using browser-serialport.

When the usb cable is disconnected I get a disconnect and close event on mac64 and win64 platforms, but the same code on win32 platform does not receive any event when the cable is disconnected.

Is there any known incompatibility with win32? (or maybe I am missing something to make it work)

Thanks

Hi @elaval,

I don't know of any incompatibility issues. I would not think that you're missing something since it's working on the other platforms.

I don't have any win32 machines to test on. Let me know anything you find though.

Thanks for using the library 😄

Hi @garrows ... thanks for the answer.

I tried it in a win64 machine but using nwjs for 32 bits (http://dl.nwjs.io/v0.15.3/nwjs-v0.15.3-win-ia32.zip). If you have time you may try to test it and let me know if you find a similar behaviour.

I will keep you updated on anything else I find.