次の方法で共有


Protocol Extension Samples (Compact 2013)

3/26/2014

The Btscosnd, L2capapi, and L2capdev samples illustrate the process of creating a Bluetooth protocol extension for Windows Embedded Compact. Each sample extension connects to some layer of the Bluetooth stack and exposes an interface for creating baseband connections.

Note

These samples have not been thoroughly tested and are not intended for production use.

The following table shows the locations of the protocol extension samples.

Location

Description

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample \Btscosnd

HCI extension layer that implements an audio driver that sends and receives Bluetooth SCO audio data.

The compiled sample generates a Btscosnd.lib.

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\L2capdev

L2CAP extension layer that is implemented as a driver in device.exe.

The compiled sample generates a L2capdev.dll.

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\L2capapi

User application accessible API that communicates with L2capdev.

The compiled sample generates the static library L2capapi.dll.

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\btdc

The compiled sample generates btdccp.exe.

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\L2capapiutil

Sample application to demonstrate how to use L2capapi.dll.

See Also

Tasks

Samples for Implementing Bluetooth in an OS