Partager via


Virtual COM Port Creation Sample (Windows Embedded CE 6.0)

1/6/2010

The Comtest sample test application illustrates the use of the Windows Embedded CE–based Bluetooth stack Virtual COM Port interface.

The compiled sample generates a Comtest.exe application that can be started as a server or client. When started as server, it creates a server COM port and waits for connections. When started as client, it creates a client COM port and initiates connection. Once a connection is established, the server sends stream packets to the client. The client checks the data stream for integrity and reports errors and de-synchronizations.

For more information, see Creating a Connection to a Remote Device Using a Virtual COM Port.

To view supported command line options use COMTEST /?.

Sample Location

**%_WINCEROOT%*\*Public\Common\Sdk\Samples\Bluetooth\Comtest

Note

This sample application has not been thoroughly tested and is not intended for production use.

See Also

Concepts

Bluetooth Application Development Samples
Bluetooth Samples

Other Resources

Bluetooth Application Development