PacketMarker (Windows Embedded CE 6.0)
1/6/2010
This structure is used by HCI stack layer for matching command completion to HCI stack client issuing the command.
Syntax
typedef struct _packet_marker {
unsigned int fMarker;
union {
BD_ADDR ba;
unsigned short connection_handle;
};
} PacketMarker;
Members
fMarker
This member may be one of the following.Marker Value BTH_MARKER_NONE
0
BTH_MARKER_CONNECTION
1
BTH_MARKER_ADDRESS
2
- ba
Depending on fMarker, ba contains the Bluetooth address.
- connection_handle
Depending on fMarker, connection_handle contains the connection handle associated with the command.
Remarks
The structure is used in conjunction with the following command to match asynchronous event associated with this command to the command itself.
typedef int (*HCI_CustomCode_In) (
HANDLE hDeviceContext,
void* pCallContext,
unsigned short usOpCode,
unsigned short cPacketSize,
unsigned char* pPacket,
PacketMarker* pMarker,
unsigned char cEvent
);
Requirements
Header | bt_ddi.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |