INDICATION_CODE enumeration (bthddi.h)
The INDICATION_CODE enumeration type indicates to a profile driver what type of L2CAP event has occurred.
Syntax
typedef enum _INDICATION_CODE {
IndicationAddReference,
IndicationReleaseReference,
IndicationRemoteConnect,
IndicationRemoteDisconnect,
IndicationRemoteConfigRequest,
IndicationRemoteConfigResponse,
IndicationFreeExtraOptions,
IndicationRecvPacket,
IndicationPairDevice,
IndicationUnpairDevice,
IndicationUnpersonalizeDevice,
IndicationRemoteConnectLE
} INDICATION_CODE, *PINDICATION_CODE;
Constants
IndicationAddReference Indicates to a profile driver to add a reference to its device object because it may be called at any time. |
IndicationReleaseReference Indicates to a profile driver to release a reference to its device object and that it will no longer be called. |
IndicationRemoteConnect Indicates to a server profile driver that a remote device is connecting to the PSM that the profile driver registered earlier. Profile drivers accept or reject this request by building and sending a BRB_L2CA_OPEN_CHANNEL_RESPONSE request. When this indication code is passed, the profile driver should use the parameters that are passed to it in the Connect member of the INDICATION_PARAMETERS structure. |
IndicationRemoteDisconnect Indicates to a registered profile driver that a remote device disconnecting from the local radio. When this indication code is passed, the profile driver should use the parameters that are passed to it in the Disconnect member of the INDICATION_PARAMETERS structure. |
IndicationRemoteConfigRequest Indicates to a client profile driver that a remote device is performing a configuration request. When this indication code is passed, the profile driver should use the parameters that are passed to it in the ConfigRequest member of the INDICATION_PARAMETERS structure. |
IndicationRemoteConfigResponse Indicates to a client profile driver that a remote device is responding to a configuration request. When this indication code is passed, the profile driver should use the parameters that are passed to it in the ConfigResponse member of the INDICATION_PARAMETERS structure. |
IndicationFreeExtraOptions Reserved for future use. Do not use. |
IndicationRecvPacket Indicates to a registered profile driver that a packet has been received on the specified PSM. The profile driver can use this event to determine when it is necessary to issue a read BRB_L2CA_ACL_TRANSFTER BRB. Profile drivers that need to read from the remote device can also ignore this notification and keep a read BRB pending at all times. When this indication code is passed, the profile driver should use the parameters that are passed to it in the RecvPacket member of the INDICATION_PARAMETERS structure. |
IndicationPairDevice Indicates to a registered driver that the local radio has bonded to a specific remote radio. |
IndicationUnpairDevice Indicates to a registered driver that the local radio is no longer bonded to a specific remote radio. |
IndicationUnpersonalizeDevice Indicates to a registered driver that the specified remote radio has been removed from the list of personal devices. |
IndicationRemoteConnectLE Indicates to a server profile driver that a low energy (LE) remote device is connecting to the PSM that the profile driver registered earlier. Profile drivers accept or reject this request by building and sending a BRB_L2CA_OPEN_CHANNEL_RESPONSE request. When this indication code is passed, the profile driver should use the parameters that are passed to it in the Connect member of the INDICATION_PARAMETERS structure. This value is present in Windows 8 and later versions of Windows. |
Remarks
A value from this enumeration is passed to a profile driver's L2CAP Callback Function to notify it of an event.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Versions:_Supported in Windows Vista, and later. |
Header | bthddi.h (include Bthddi.h) |