hub4com-1.1.0.0
所属分类:通讯编程
开发工具:Visual C++
文件大小:23KB
下载次数:16
上传日期:2008-06-03 11:53:15
上 传 者:
oyefer
说明: 从一个串口接收到的数据广播到其他串口,用于串口调试、协议分析、多个程序共享GPS端口等场合。It allows to send data received from one COM port to a number of COM
ports and vice versa. In conjunction with the com0com driver the hub4com
makes it possible to handle data from a single serial device by a number
of different applications. For example, several applications can share
data from one GPS device.
(From a serial port to receive the data broadcast to the other serial port, serial port for debugging, protocol analysis, a number of procedures for sharing occasions, such as GPS port. It allows to send data received from one COM port to a number of COMports and vice versa. In conjunction with the com0com driver the hub4commakes it possible to handle data from a single serial device by a numberof different applications. For example, several applications can sharedata from one GPS device.)
文件列表:
hub4com-1.1.0.0 (0, 2008-03-14)
hub4com-1.1.0.0\.cvsignore (45, 2007-02-06)
hub4com-1.1.0.0\comhub.cpp (5306, 2007-12-19)
hub4com-1.1.0.0\comhub.h (2625, 2007-12-19)
hub4com-1.1.0.0\comio.cpp (7447, 2007-05-14)
hub4com-1.1.0.0\comio.h (2288, 2007-02-06)
hub4com-1.1.0.0\comparams.cpp (5408, 2007-05-14)
hub4com-1.1.0.0\comparams.h (4605, 2007-05-14)
hub4com-1.1.0.0\comport.cpp (6118, 2008-03-05)
hub4com-1.1.0.0\comport.h (2278, 2007-02-06)
hub4com-1.1.0.0\hub4com.cpp (13056, 2008-02-04)
hub4com-1.1.0.0\hub4com.rc (2010, 2007-01-23)
hub4com-1.1.0.0\hub4com.vcproj (5242, 2007-03-26)
hub4com-1.1.0.0\precomp.cpp (1113, 2007-03-26)
hub4com-1.1.0.0\precomp.h (1334, 2007-02-01)
hub4com-1.1.0.0\utils.cpp (2656, 2007-01-23)
hub4com-1.1.0.0\utils.h (1205, 2007-01-23)
hub4com-1.1.0.0\version.h (1270, 2008-03-14)
===========================
HUB for COM ports (hub4com)
===========================
INTRODUCTION
============
The HUB for COM ports (hub4com) is a Windows application and is a part
of the com0com project.
It allows to send data received from one COM port to a number of COM
ports and vice versa. In conjunction with the com0com driver the hub4com
makes it possible to handle data from a single serial device by a number
of different applications. For example, several applications can share
data from one GPS device.
The homepage for com0com project is http://com0com.sourceforge.net/.
BUILDING
========
Start Microsoft Visual C++ 2005 with hub4com.vcproj file.
Set Active Configuration to hub4com - Win32 Release.
Build hub4com.exe.
TESTING
=======
1. With the com0com driver create three virtual COM port pairs with
port names CNCA0, CNCB0, CNCA1, CNCB1, CNCA2 and CNCB2 (see
com0com's ReadMe.txt file for details).
2. Start the hub4com.exe on CNCB0, CNCB1 and CNCB2 ports:
hub4com --route=All:All \\.\CNCB0 \\.\CNCB1 \\.\CNCB2
3. Start the HyperTerminal on CNCA0 port.
4. Start the HyperTerminal on CNCA1 port.
5. Start the HyperTerminal on CNCA2 port.
6. The data typed to any HyperTerminal window should be printed on
the others HyperTerminal windows.
EXAMPLE OF USAGE
================
You have serial device that connected to your computer via COM1 port and
you'd like to handle its data by two applications. You can do it this way:
1. With the com0com driver create two virtual COM port pairs with
port names CNCA0, CNCB0, CNCA1 and CNCB1 (see com0com's ReadMe.txt
for details).
2. Start the hub4com.exe on COM1, CNCB0 and CNCB1 ports:
hub4com \\.\COM1 \\.\CNCB0 \\.\CNCB1
It will send data received from COM1 port to CNCB0 and CNCB1 ports
and it will send data received from CNCB0 port to COM1 port.
3. Start the applications on CNCA0 and CNCA1 ports.
近期下载者:
相关文件:
收藏者: