Headers to Use with Get Operations
A version of this page is also available for
4/8/2010
The Connection Id header is always used with Get requests. 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 used with the Get request packet:
- Name specifies the name of the object to get. If this value is not specified, the default object is assumed. If there is more than one object on the server, this value is required.
- Type specifies the object type. If this value is not specified, the default object is assumed.
The final bit in a Get request identifies the last header packet describing the object. All subsequent Get requests must set the final bit until the operation completes.
The following headers are included in the Get response packet:
- Name identifies the name of the object being returned, if applicable.
- Length defines length of the object being returned.
- Time includes the header timestamp information.
- Type defines the object type.
- Body includes data.
- EndOfBody marks the end of the body.
See Also
Tasks
How to Request a Data Object from the OBEX Server