OBEXCOMMAND
A version of this page is also available for
4/8/2010
This structure contains a pre-parsed OBEX packet; this packet is transmitted via one of the three transport types that OBEX supports (Bluetooth, IrDA, or TCP/IP).
Syntax
typedef struct _obex_command {
unsigned int uiOp;
unsigned int uiResp;
unsigned int fFinal;
ObexPacketData sPktData;
unsigned int cProp;
unsigned int * aPropID;
ObexVariant * aPropVar;
} ObexCommand;
Members
uiOp
The operation selector. This member contains one of the following values.Value Description OBEX_OP_CONNECT
Connect to a remote device.
OBEX_OP_DISCONNECT
Disconnect from a remote device.
OBEX_OP_PUT
Transfer a packet of information from the local device to the remote device.
OBEX_OP_GET
Transfer a packet of information from the remote device to the local device.
OBEX_OP_SETPATH
Set the current path name.
OBEX_OP_ABORT
Abort the transfer of the packet.
- uiResp
The response code from the server (indicates success or failure of the transmission of a packet).
- fFinal
Indicates whether the last packet sent is the final packet in the data stream. If the last packet sent is the final packet, this member is equal to OBEX_OP_FINAL.
- sPktData
Contains information related to the current command in an ObexPacketData structure.
- cProp
The property array identifier.
- aPropID
The property ID of the OBEX packet.
- aPropVar
Pointer to an array of ObexVariant structures that contain the properties of the OBEX packet.
Requirements
Header | obexserver.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |