OBEX Implementation Considerations

Windows CE .NET

The Object Exchange Protocol feature is designed to provide a simple to use abstraction from the lower level details in OBEX.

The following table shows the Sysgen variables that control the OBEX features.

Sysgen variable Feature
SYSGEN_OBEX_CLIENT When this variable is set, the Obex Client feature is included in the OS image. The OBEX client is a device that initiates a connection to an OBEX server.
SYSGEN_OBEX_SERVER When this variable is set, the Obex Server feature is included in the OS image. An OBEX server is a device that listens for incoming connections from a client.

To enable this feature, the Obex Inbox, Obex Server, and the Core Server Support features must also be included in your configuration.

SYSGEN_OBEX_FILEBROWSER When this variable is set, the Obex File Browser feature is included in the OS image. To enable this feature, the Obex Inbox, Obex Server, and the Core Server Support features must also be included in your configuration.
SYSGEN_OBEX_INBOX When this variable is set, the Obex Inbox feature is included in the OS image. To enable this feature, the Obex Server and the Core Server Support features must also be included in your configuration.

Server

The OBEX server runs under Services.exe and forwards OBEX packets to registered handlers. Two sample handlers are included in the public samples, filebrowser (Obexfile.dll) and default inbox (Obexinbx.dll).

Client

The OBEX client API exports an IStream interface to the underlying OBEX protocol. All protocol interaction is abstracted by simple Component Object Model (COM) interfaces.

The following table describes the different OBEX DLLs.

DLL Description
Obexapi.dll Contains all client OBEX COM objects.
Obexsrvr.dll OBEX server DLL.
Obexfile.dll OBEX filebrowser (server module).
Obexinbx.dll OBEX inbox (server module)

See Also

Object Exchange Protocol Overview


 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.

Show: