Question about serial binding on windows using hub4com

739 views
Skip to first unread message

Fulvio Spelta

unread,
Aug 25, 2013, 1:29:38 PM8/25/13
to ope...@googlegroups.com
Hi all, I'm using Virtual Serial Port to adapt the speed from 57600 of CurrentCost to 9600 used by openHab, but it isn't reliable and sometime it crash with blue screen.

I'm trying to use com0com and hub4com, is there someone with experience about  this configuration ?

Using some readme and forum i've created the ports:
CNCA0 PortName=COM#,RealPortName=COM4,EmuBR=no,EmuOverrun=no
CNCB0 PortName=-,EmuBR=no,EmuOverrun=no,ExclusiveMode=no

and then run hub4com with this command line:
hub4com --baud=57600 --route=0:All \\.\com3 --baud=9600 \\.\cncb0

but my serial items (linked to com4) doesn't receive any data (in debug log i found only the row with "com4 port found".

Thanks in advance

Fulvio Spelta

unread,
Aug 26, 2013, 6:26:43 PM8/26/13
to ope...@googlegroups.com
Searching variuos forum i've found that you have to use the command line (assuming that the source phisical port is COM3 and the virtual port is COM4 coupled with CNCB0 as in my configuration (see previous post)):

hub4com --baud=57600 --octs=off \\.\COM3 --baud=9600 \\.\CNCB0


Reply all
Reply to author
Forward
0 new messages