PacketMarker (Compact 2013)
3/26/2014
This structure is used by the HCI stack layer for matching command completion to the 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
Type of marker. One of the following.Marker
Value
BTH_MARKER_NONE
0
BTH_MARKER_CONNECTION
1
BTH_MARKER_ADDRESS
2
- ba
Bluetooth address iffMarker=BTH_MARKER_ADDRESS
.
- connection_handle
Connection handle associated with the command iffMarker=BTH_MARKER_CONNECTION
.
Remarks
The structure is used in conjunction with the following command, to match the 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 |