What steps will reproduce the problem? 1. My arduino is currently running on com19
What is the expected output? What do you see instead? I need to be able to connect to ports greater than 16, the native code is hard coded to connect to ports from 1 to 16.
What version of the product are you using? On what operating system? Using 1.0.0 on Windows Vista 32bit
Comment #1
Posted on Feb 8, 2012 by Swift CamelPlease see the attached rs232.c file that allows for com ports up to 999
- rs232.c 9.68KB
Comment #2
Posted on Feb 8, 2012 by Happy BearThanks! I'll be adding this patch into the next version I push out. Thanks for contributing!
Comment #3
Posted on Feb 9, 2012 by Swift CamelThanks for incorporating the changes note that the new rs232.c takes the com port as is and uses it instead of offsetting it into an array e.g. OpenComport(1, 9600) actually opens \.\COM1. The previous version would have opened \.\COM2 not sure where you want to change it? Either remove the adjustment in the .as or add 1 before it is converted to string form in the .c
Thanks again it is a great library!
Comment #4
Posted on Mar 25, 2012 by Happy BearFixed in 1.2.0. Will now accept > COM16 (however, the getComPorts() will only report 16, as most Windows based OSs only support COM1 -> COM16
Status: Verified
Labels:
Type-Defect
Priority-Medium
OpSys-Windows
Milestone-Release1.2