OBEXTool (Windows Embedded CE 6.0)

1/6/2010

This sample application provides a UI to manage or establish FTP services using the Windows Embedded CEā€“based Bluetooth stack over OBEX.

Usage

obextool

Remarks

When the application starts, you can use the connect menu option to connect to a Bluetooth device in the vicinity. A list of Bluetooth devices will be displayed in a dialog box during the connection process and you can choose the one that you want to perform FTP operations on. After the connection is established, you can use the send file option to send a file to the connected Bluetooth device. You can terminate the session using the disconnect menu option.

Sample code for ObexTool is provided in %_WINCEROOT%\Public\Servers\SDK\Samples\OBEX\FileBrowser. To view the OBEX sample; install Platform Builder and then build a sample OS design that includes OBEX. You can then find the OBEX sample in %_WINCEROOT%\Public\<your OS design name>\SDK\Samples\OBEX\FileBrowser.

The two most common tasks in OBEX are to Get and Put a data object. The client is the initiator of these commands and the server, upon receiving these commands, will carry out the service requested.

Task Description

Implementing the Put Operation

Enables clients to transfer files to a server.

Implementing the Get Operation

Enables clients to obtain Outlook Contact information from the server.

See Also

Tasks

OBEX Samples