Partager via


Running the IR Port Test (Winsock 2.0) (Windows Embedded CE 6.0)

1/6/2010

The IR Port Test (Winsock 2.0) executes the tux –o –d irapi22 command line on default execution. The default command line runs the test without any connection-related test cases.

You can run the IR Port Test (Winsock 2.0) with a server. If you use IR as a control channel, you must start the server by typing irapisrv22 at the command line. You must then start the test on the client with the tux –o –d irapi22 command line.

If you use a TCP/IP network as a control channel, you must start the server by typing irapisrv22 server_name at the command line. You must then start the test on the client with the tux –o –d irapi22 –c server_name command line.

Note

If you choose to run the IR Port Test (Winsock 2.0) without a server, an IR device is still required on the client.

To run the IR Port Test (Winsock 2.0)

  1. Build run-time images for the client and server devices with Infrared Data Association (IrDA), Unimodem, and Winsock2 support.

  2. Place the IR transmitters of the client and server devices within communications range of each other.

  3. From <Platform Builder installation path>\Cepb\Wcetk\Ddtk\%_TGTCPU% on the development workstation, copy the work files (Irapisrv22.exe** and Kato.dll) to the Windows directory on the Windows Embedded CE-based device that you want to use as the IR server device. Alternatively, if Platform Builder is connected to the Windows Embedded CE–based device that you want to use as server, copy the work files to the release directory.

  4. On the IR server device, run the Irapisrv22.exe application.

  5. If you use a TCP/IP network as a control channel, modify the command line to pass to the test client the host name or IP address of the Windows Embedded CE–based device running Irapisrv22.exe.

    In the Windows Embedded CE 6.0 Test Kit (CETK) window on the development workstation, right-click on IR Port Test (Winsock 2.0), and then choose Edit Command Line. Type -c server_name at the end of the existing tux –o –d irapi22 command line.

  6. From the Windows Embedded CE 6.0 Test Kit (CETK) window, start the IR Port Test (Winsock 2.0).

See Also

Concepts

IR Port Test (Winsock 2.0)