Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The Connection Idheader is always used with Putrequests. This header identifies the connection identifier returned in the connect response. If a connect command was not issued, a default connection is assumed.

The following optional headers are included in the Putrequest packet:

  • Nameidentifies the name of the object being returned, if applicable.

  • Lengthdefines length of the object being returned.

  • Timeincludes the header timestamp information.

  • Typedefines the object type. Types are of the MIME format, such as text/html, x-obex/object-profile, text/x-vCard, and others.

  • Bodyincludes data.

  • EndOfBodymarks the end of the body.

Headers are not included in the Putresponse packet. The following table shows the possible response codes.

Value Description

Error

Indicates failure.

Continue

Included in intermediate response packets.

Success

Included in the final response packet if the Putoperation is successful.

The response to any individual request packet must consist of one packet. Multipacket Put responses are not supported.

If the length field of the response code is greater than three, the response includes headers. Unknown response codes indicate failure.

See Also