-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows serial data issues #1291
Comments
Windows has been troublesome over the years but it's in good shape. |
Do you have serial devices you are controlling from the Windows side on v 5 or 6? |
Yeah, an arduino and a log of people tested v5 on all sorts of stuff. - Some stuff changed some stuff between v5 and the v6 beta with regards to open options. #1277 |
Yes, I was the one who made the changes. |
Oh duh, sorry I was deep into support mode. There are no writes being made for an open call, nothing that should be sending 254, 254, but we do perform some operations (eg |
And for the record our integration tests work with any arduino and will echo data through the ports and test reading and writing in a few different ways. I'm happy to expand how that's tested. I don't know if you have an arduino handy but reproducing the issue on one of those (make sure to load |
Would you be able to test with |
I figured it out |
I know this was closed for a while, but I finally found my lost arduino. I have this working now on v6, so thank you. |
Glad it worked out |
SerialPort Version: 6.00beta1 & 5.00
NodeJS Version: v6.11.2
Operating System and Hardware Platform: Windows 10 64 bit
Have you checked the right version of the api docs?: yes
Are you having trouble installing and you checked the Installation Special Cases docs? no
Are you using Electron and have you checked the Electron Docs?: no
Summary of Problem
I think I was actually using a previous version (don't know #) of the module that had worked, but on starting over with the new beta, I'm seeing some bizarre data coming through. I am working with a robot, but I use an Arduino + LCD to see what data actually comes out. With whichever previous version, this appeared to be working fine, but after updating, now getting some weird issues. Upon opening the serial port. I automatically get two bytes sent out:
0xFEFE
.Steps and Code to Reproduce the Issue
The following sends out 0xFEFE to my Arduino (I haven't written anything to the serial port):
The following script outputs
0xFEFEE0
:I'm not sure which functional version I was using before I updated, but seems from the issues list that many folks have been having trouble with Windows serial comms.
The text was updated successfully, but these errors were encountered: