다음을 통해 공유


Transport Interfaces (Windows CE 5.0)

Send Feedback

A kernel transport service has two parts: a low-level KITL transport library, and a COM wrapper for the transport library. All KITL clients, including Platform Builder, use the Core Connectivity service host and the COM wrapper to access individual KITL transports.

The service host communicates with the KITL framework layer via COM modules. Every COM layer of the KITL transport implements the following Core Connectivity interfaces:

Interface Description
ICcService Provides common methods for connectivity.
ICcTransport and ICcTransportStream Establish transport streams with a target device.
ICcKitl Supports debug break and target reset from the desktop.
ICcServiceConfigure Enables customizing service configurations.

The transport interfaces, ICcTransport and ICcTransportStream, establish custom transport streams with a target device. Transport interface methods call corresponding KITL interface methods to accomplish a particular task.

The following table provides examples of the relationship between transport interface methods and KITL interface methods.

Transport interface method KITL interface method Action
ICcTransport::CreateStream KITLRegisterClient Creates a named transport stream.
ICcTransportStream::Send KITLSend Sends data to a connected target device.
ICcTransportStream::Recv KITLRecv Receives data from a connected target device.

ICcTransportStream::IsDataAvailable determines if there is data present in the shared memory segment for the stream.

The Core Connectivity KITL interface methods, ICcKitl::Reset and ICcKitl::DebugBreak, provide support for doing a soft reset of the target device from Platform Builder and doing a target break from desktop.

See Also

Kernel Transport Services

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.