bluetooth serial port problem

Posted by sinager on 2009-11-01 08:20

Hi,
I (badly) wrote a small program to control a device via serial port (more details here http://www.tarapippo.net/uniden/tcl15.html).
Works fine as long as I run a "hard wired" one, but refuses to start with the virtual ports created by a bluetooth dongle.

Serial port runs flawlessly when I use a terminal emulator.
Two virtual ports are associated to the BT device, one called "outgoing" (mapped to COM6) and one called "incoming", mapped to COM7.

The error message I get is:
"couldn't reopen serial 'COM6': invalid argument"
Application starts but won't wake up the BT serial port if I map it to the other device (COM7).

Someone had the same problem here
http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00242.html and a patch was found, but doesn't seem to be into the last 8.5 or in 8.6b1 release.

Any suggestion?

Thanks
S

jeffh
ActiveState Staff
Fri, 2009-11-06 15:55

It looks like the patch is sitting in stasis at https://sourceforge.net/tracker/?func=detail&aid=2413550&group_id=10894&.... Can you confirm that the patch listed there works for you? That would help moving along the maintainers to include it.