Share via


Connecting to an OBEX Server

Connect requests are optional. If a Connect request is not issued before a Get or Put command, a default packet size of 255 bytes is assumed.

The following illustration shows the logic associated with a Connect command.

For more information, see the IrOBEX 1.2 Specification.

The packet length varies depending on included headers.

The following optional headers can be used in a Connect request:

  • Target is used to specify a service. If a target is not specified, the default inbox service is assumed.
  • Authenticate Challenge is used by the client when authenticating with a server.
  • Authenticate Response is sent by the client when responding to a server challenge.

The OBEX version is 1.2 and the flags are always set to 0.

The maximum packet length varies depending upon its configuration.

The following optional headers can be used in a Connect response:

  • Who contains the same information specified in the request target header.
  • Authenticate Challenge is sent by the server when a client is authenticating.
  • Authenticate Response is sent by the server to indicate a successful challenge/response.

See Also

Client Support

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.