Printer Discovery Sample (Windows Embedded CE 6.0)

1/6/2010

This sample application illustrates the use of the client-side Windows Embedded CE–based Bluetooth port emulator, device discovery, and client-side SDP queries.

The compiled sample generates a PrintUI.exe application. When the icon is clicked, a dialog box appears. From this dialog, the user can discover devices then select a device from the list. In process, it runs inquiry, name queries and SDP queries.

After a Bluetooth device is discovered with serial port profile capabilities, the pairing and authentication process is initiated. If those processes complete successfully, a Bluetooth printer profile appears under the printer program. When a new connection is established through this new Bluetooth profile, the target printer can be selected from applications.

Usage

printui.exe

Sample Location

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

Note

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

See Also

Concepts

Bluetooth OS Design Development Samples
Bluetooth Samples

Other Resources

Bluetooth Application Development