Share via


HCI_CALLBACKS (Compact 2013)

3/26/2014

This structure contains function pointers to callbacks in the Host Controller Interface (HCI).

Syntax

struct _HCI_CALLBACKS {
    HCI_Inquiry_Out                            hci_Inquiry_Out;
    HCI_InquiryCancel_Out                      hci_InquiryCancel_Out;
    HCI_PeriodicInquiryMode_Out                hci_PeriodicInquiryMode_Out;
    HCI_ExitPeriodicInquiryMode_Out            hci_ExitPeriodicInquiryMode_Out;
    HCI_CreateConnection_Out                   hci_CreateConnection_Out;
    HCI_Disconnect_Out                         hci_Disconnect_Out;
    HCI_AddSCOConnection_Out                   hci_AddSCOConnection_Out;
    HCI_AcceptConnectionRequest_Out            hci_AcceptConnectionRequest_Out;
    HCI_RejectConnectionRequest_Out            hci_RejectConnectionRequest_Out;
    HCI_LinkKeyRequestReply_Out               hci_LinkKeyRequestReply_Out;
    HCI_LinkKeyRequestNegativeReply_Out        hci_LinkKeyRequestNegativeReply_Out;
    HCI_PINCodeRequestReply_Out                hci_PINCodeRequestReply_Out;
    HCI_PINCodeRequestNegativeReply_Out        hci_PINCodeRequestNegativeReply_Out;
    HCI_ChangeConnectionPacketType_Out         hci_ChangeConnectionPacketType_Out;
    HCI_AuthenticationRequested_Out            hci_AuthenticationRequested_Out;
    HCI_SetConnectionEncryption_Out            hci_SetConnectionEncryption_Out;
    HCI_ChangeConnectionLinkKey_Out            hci_ChangeConnectionLinkKey_Out;
    HCI_MasterLinkKey_Out                      hci_MasterLinkKey_Out;
    HCI_RemoteNameRequest_Out                  hci_RemoteNameRequest_Out;
    HCI_RemoteNameRequestCancel_Out            hci_RemoteNameRequestCancel_Out;
    HCI_ReadRemoteSupportedFeatures_Out        hci_ReadRemoteSupportedFeatures_Out;
    HCI_ReadRemoteVersionInformation_Out      hci_ReadRemoteVersionInformation_Out;
    HCI_ReadClockOffset_Out                    hci_ReadClockOffset_Out;
    HCI_HoldMode_Out                           hci_HoldMode_Out;
    HCI_SniffMode_Out                          hci_SniffMode_Out;
    HCI_ExitSniffMode_Out                      hci_ExitSniffMode_Out;
    HCI_SSRMode_Out                            hci_SSRMode_Out;    
    HCI_ParkMode_Out                           hci_ParkMode_Out;
    HCI_ExitParkMode_Out                       hci_ExitParkMode_Out;
    HCI_QoSSetup_Out                           hci_QoSSetup_Out;
    HCI_RoleDiscovery_Out                      hci_RoleDiscovery_Out;
    HCI_SwitchRole_Out                         hci_SwitchRole_Out;
    HCI_ReadLinkPolicySettings_Out             hci_ReadLinkPolicySettings_Out;
    HCI_WriteLinkPolicySettings_Out            hci_WriteLinkPolicySettings_Out;
    HCI_SetEventMask_Out                       hci_SetEventMask_Out;
    HCI_Reset_Out                              hci_Reset_Out;
    HCI_SetEventFilter_Out                     hci_SetEventFilter_Out;
    HCI_Flush_Out                              hci_Flush_Out;
    HCI_EnhancedFlush_Out                      hci_EnhancedFlush_Out;
    HCI_ReadPINType_Out                        hci_ReadPINType_Out;
    HCI_WritePINType_Out                       hci_WritePINType_Out;
    HCI_CreateNewUnitKey_Out                   hci_CreateNewUnitKey_Out;
    HCI_ReadStoredLinkKey_Out                  hci_ReadStoredLinkKey_Out;
    HCI_WriteStoredLinkKey_Out                 hci_WriteStoredLinkKey_Out;
    HCI_DeleteStoredLinkKey_Out                hci_DeleteStoredLinkKey_Out;
    HCI_ChangeLocalName_Out                    hci_ChangeLocalName_Out;
    HCI_ReadLocalName_Out                      hci_ReadLocalName_Out;
    HCI_ReadConnectionAcceptTimeout_Out        hci_ReadConnectionAcceptTimeout_Out;
    HCI_WriteConnectionAcceptTimeout_Out      hci_WriteConnectionAcceptTimeout_Out;
    HCI_ReadPageTimeout_Out                    hci_ReadPageTimeout_Out;
    HCI_WritePageTimeout_Out                   hci_WritePageTimeout_Out;
    HCI_ReadScanEnable_Out                     hci_ReadScanEnable_Out;
    HCI_WriteScanEnable_Out                    hci_WriteScanEnable_Out;
    HCI_ReadPageScanActivity_Out               hci_ReadPageScanActivity_Out;
    HCI_WritePageScanActivity_Out              hci_WritePageScanActivity_Out;
    HCI_ReadInquiryScanActivity_Out            hci_ReadInquiryScanActivity_Out;
    HCI_WriteInquiryScanActivity_Out           hci_WriteInquiryScanActivity_Out;
    HCI_ReadAuthenticationEnable_Out           hci_ReadAuthenticationEnable_Out;
    HCI_WriteAuthenticationEnable_Out          hci_WriteAuthenticationEnable_Out;
    HCI_ReadEncryptionMode_Out                 hci_ReadEncryptionMode_Out;
    HCI_WriteEncryptionMode_Out                hci_WriteEncryptionMode_Out;
    HCI_ReadClassOfDevice_Out                  hci_ReadClassOfDevice_Out;
    HCI_WriteClassOfDevice_Out                 hci_WriteClassOfDevice_Out;
    HCI_ReadVoiceSetting_Out                   hci_ReadVoiceSetting_Out;
    HCI_WriteVoiceSetting_Out                 hci_WriteVoiceSetting_Out;
    HCI_ReadAutomaticFlushTimeout_Out          hci_ReadAutomaticFlushTimeout_Out;
    HCI_WriteAutomaticFlushTimeout_Out         hci_WriteAutomaticFlushTimeout_Out;
    HCI_ReadNumBroadcastRetransmissions_Out   hci_ReadNumBroadcastRetransmissions_Out;
    HCI_WriteNumBroadcastRetransmissions_Out    hci_WriteNumBroadcastRetransmissions_Out;
    HCI_ReadHoldModeActivity_Out               hci_ReadHoldModeActivity_Out;
    HCI_WriteHoldModeActivity_Out              hci_WriteHoldModeActivity_Out;
    HCI_ReadTransmitPowerLevel_Out             hci_ReadTransmitPowerLevel_Out;
    HCI_ReadSCOFlowControlEnable_Out           hci_ReadSCOFlowControlEnable_Out;
    HCI_WriteSCOFlowControlEnable_Out          hci_WriteSCOFlowControlEnable_Out;
    HCI_SetHostControllerToHostFlowControl_Out hci_SetHostControllerToHostFlowControl_Out;
    HCI_HostBufferSize_Out                     hci_HostBufferSize_Out;
    HCI_ReadLinkSupervisionTimeout_Out         hci_ReadLinkSupervisionTimeout_Out;
    HCI_WriteLinkSupervisionTimeout_Out        hci_WriteLinkSupervisionTimeout_Out;
    HCI_ReadNumberOfSupportedIAC_Out           hci_ReadNumberOfSupportedIAC_Out;
    HCI_ReadCurrentIACLAP_Out                  hci_ReadCurrentIACLAP_Out;
    HCI_WriteCurrentIACLAP_Out                 hci_WriteCurrentIACLAP_Out;
    HCI_ReadPageScanPeriodMode_Out             hci_ReadPageScanPeriodMode_Out;
    HCI_WritePageScanPeriodMode_Out            hci_WritePageScanPeriodMode_Out;
    HCI_ReadPageScanMode_Out                   hci_ReadPageScanMode_Out;
    HCI_WritePageScanMode_Out                  hci_WritePageScanMode_Out;
    HCI_ReadLocalVersionInformation_Out        hci_ReadLocalVersionInformation_Out;
    HCI_ReadLocalSupportedFeatures_Out         hci_ReadLocalSupportedFeatures_Out;
    HCI_ReadBufferSize_Out                     hci_ReadBufferSize_Out;
    HCI_ReadCountryCode_Out                    hci_ReadCountryCode_Out;
    HCI_ReadBDADDR_Out                         hci_ReadBDADDR_Out;
    HCI_ReadFailedContactCounter_Out           hci_ReadFailedContactCounter_Out;
    HCI_ResetFailedContactCounter_Out          hci_ResetFailedContactCounter_Out;
    HCI_GetLinkQuality_Out                    hci_GetLinkQuality_Out;
    HCI_ReadRSSI_Out                           hci_ReadRSSI_Out;
    HCI_ReadLoopbackMode_Out                   hci_ReadLoopbackMode_Out;
    HCI_WriteLoopbackMode_Out                  hci_WriteLoopbackMode_Out;
    HCI_EnableDeviceUnderTestMode_Out          hci_EnableDeviceUnderTestMode_Out;
    HCI_DataPacketDown_Out                     hci_DataPacketDown_Out;
    BT_LAYER_CALL_ABORTED                      hci_CallAborted;
    
    // V2 members
    HCI_WritePageScanType_Out                  hci_WritePageScanType_Out;
    HCI_WriteInquiryScanType_Out               hci_WriteInquiryScanType_Out;
    HCI_ReadPageScanType_Out                   hci_ReadPageScanType_Out;
    HCI_ReadInquiryScanType_Out                hci_ReadInquiryScanType_Out;
    HCI_SetupSynchronousConnection_Out         hci_SetupSynchronousConnection_Out;
    HCI_AcceptSynchronousConnectionRequest_Out hci_AcceptSynchronousConnectionRequest_Out;
    HCI_RejectSynchronousConnectionRequest_Out hci_RejectSynchronousConnectionRequest_Out;

    // V3 members
    HCI_WriteExtendedInquiryResponse_Out       hci_WriteExtendedInquiryResponse_Out;
    HCI_ReadExtendedInquiryResponse_Out        hci_ReadExtendedInquiryResponse_Out;
    HCI_WriteInquiryMode_Out                   hci_WriteInquiryMode_Out;
    HCI_ReadInquiryMode_Out                    hci_ReadInquiryMode_Out;
    HCI_SSPCommandComplete_Out                 hci_SSPCommandComplete_Out;
    HCI_RefreshEncryptionKeyComplete_Out       hci_RefreshEncryptionKeyComplete_Out;
};

Members

  • hci_Inquiry_Out
    Pointer to the hci_Inquiry_Out callback.
  • hci_InquiryCancel_Out
    Pointer to the hci_InquiryCancel_Out callback.
  • hci_PeriodicInquiryMode_Out
    Pointer to the hci_PeriodicInquiryMode_Out callback.
  • hci_ExitPeriodicInquiryMode_Out
    Pointer to the hci_ExitPeriodicInquiryMode_Out callback.
  • hci_CreateConnection_Out
    Pointer to the hci_CreateConnection_Out callback.
  • hci_Disconnect_Out
    Pointer to the hci_Disconnect_Out callback.
  • hci_AddSCOConnection_Out
    Pointer to the hci_AddSCOConnection_Out callback.
  • hci_AcceptConnectionRequest_Out
    Pointer to the hci_AcceptConnectionRequest_Out callback.
  • hci_RejectConnectionRequest_Out
    Pointer to the hci_RejectConnectionRequest_Out callback.
  • hci_LinkKeyRequestReply_Out
    Pointer to the hci_LinkKeyRequestReply_Out callback.
  • hci_LinkKeyRequestNegativeReply_Out
    Pointer to the hci_LinkKeyRequestNegativeReply_Out callback.
  • hci_PINCodeRequestReply_Out
    Pointer to the hci_PINCodeRequestReply_Out callback.
  • hci_PINCodeRequestNegativeReply_Out
    Pointer to the hci_PINCodeRequestNegativeReply_Out callback.
  • hci_ChangeConnectionPacketType_Out
    Pointer to the hci_ChangeConnectionPacketType_Out callback.
  • hci_AuthenticationRequested_Out
    Pointer to the hci_AuthenticationRequested_Out callback.
  • hci_SetConnectionEncryption_Out
    Pointer to the hci_SetConnectionEncryption_Out callback.
  • hci_ChangeConnectionLinkKey_Out
    Pointer to the hci_ChangeConnectionLinkKey_Out callback.
  • hci_MasterLinkKey_Out
    Pointer to the hci_MasterLinkKey_Out callback.
  • hci_RemoteNameRequest_Out
    Pointer to the hci_RemoteNameRequest_Out callback.
  • hci_RemoteNameRequestCancel_Out
    Pointer to the hci_RemoteNameRequestCancel_Out callback. Called when a Remote Name Request Cancel Complete event occurs.
  • hci_ReadRemoteSupportedFeatures_Out
    Pointer to the hci_ReadRemoteSupportedFeatures_Out callback.
  • hci_ReadRemoteVersionInformation_Out
    Pointer to the hci_ReadRemoteVersionInformation_Out callback.
  • hci_ReadClockOffset_Out
    Pointer to the hci_ReadClockOffset_Out callback.
  • hci_HoldMode_Out
    Pointer to the hci_HoldMode_Out callback.
  • hci_SniffMode_Out
    Pointer to the hci_SniffMode_Out callback.
  • hci_ExitSniffMode_Out
    Pointer to the hci_ExitSniffMode_Out callback.
  • hci_SSRMode_Out
    Pointer to the hci_SSRMode_Out callback.
  • hci_ParkMode_Out
    Pointer to the hci_ParkMode_Out callback.
  • hci_ExitParkMode_Out
    Pointer to the hci_ExitParkMode_Out callback.
  • hci_QoSSetup_Out
    Pointer to the hci_QoSSetup_Out callback.
  • hci_RoleDiscovery_Out
    Pointer to the hci_RoleDiscovery_Out callback.
  • hci_SwitchRole_Out
    Pointer to the hci_SwitchRole_Out callback.
  • hci_ReadLinkPolicySettings_Out
    Pointer to the hci_ReadLinkPolicySettings_Out callback.
  • hci_WriteLinkPolicySettings_Out
    Pointer to the hci_WriteLinkPolicySettings_Out callback.
  • hci_SetEventMask_Out
    Pointer to the hci_SetEventMask_Out callback.
  • hci_Reset_Out
    Pointer to the hci_Reset_Out callback.
  • hci_SetEventFilter_Out
    Pointer to the hci_SetEventFilter_Out callback.
  • hci_Flush_Out
    Pointer to the hci_Flush_Out callback.
  • hci_EnhancedFlush_Out
    Pointer to the hci_EnhancedFlush_Out callback.
  • hci_ReadPINType_Out
    Pointer to the hci_ReadPINType_Out callback.
  • hci_WritePINType_Out
    Pointer to the hci_WritePINType_Out callback.
  • hci_CreateNewUnitKey_Out
    Pointer to the hci_CreateNewUnitKey_Out callback.
  • hci_ReadStoredLinkKey_Out
    Pointer to the hci_ReadStoredLinkKey_Out callback.
  • hci_WriteStoredLinkKey_Out
    Pointer to the hci_WriteStoredLinkKey_Out callback.
  • hci_DeleteStoredLinkKey_Out
    Pointer to the hci_DeleteStoredLinkKey_Out callback.
  • hci_ChangeLocalName_Out
    Pointer to the hci_ChangeLocalName_Out callback.
  • hci_ReadLocalName_Out
    Pointer to the hci_ReadLocalName_Out callback.
  • hci_ReadConnectionAcceptTimeout_Out
    Pointer to the hci_ReadConnectionAcceptTimeout_Out callback.
  • hci_WriteConnectionAcceptTimeout_Out
    Pointer to the hci_WriteConnectionAcceptTimeout_Out callback.
  • hci_ReadPageTimeout_Out
    Pointer to the hci_ReadPageTimeout_Out callback.
  • hci_WritePageTimeout_Out
    Pointer to the hci_WritePageTimeout_Out callback.
  • hci_ReadScanEnable_Out
    Pointer to the hci_ReadScanEnable_Out callback.
  • hci_WriteScanEnable_Out
    Pointer to the hci_WriteScanEnable_Out callback.
  • hci_ReadPageScanActivity_Out
    Pointer to the hci_ReadPageScanActivity_Out callback.
  • hci_WritePageScanActivity_Out
    Pointer to the hci_WritePageScanActivity_Out callback.
  • hci_ReadInquiryScanActivity_Out
    Pointer to the hci_ReadInquiryScanActivity_Out callback.
  • hci_WriteInquiryScanActivity_Out
    Pointer to the hci_WriteInquiryScanActivity_Out callback.
  • hci_ReadAuthenticationEnable_Out
    Pointer to the hci_ReadAuthenticationEnable_Out callback.
  • hci_WriteAuthenticationEnable_Out
    Pointer to the hci_WriteAuthenticationEnable_Out callback.
  • hci_ReadEncryptionMode_Out
    Pointer to the hci_ReadEncryptionMode_Out callback.
  • hci_WriteEncryptionMode_Out
    Pointer to the hci_WriteEncryptionMode_Out callback.
  • hci_ReadClassOfDevice_Out
    Pointer to the hci_ReadClassOfDevice_Out callback.
  • hci_WriteClassOfDevice_Out
    Pointer to the hci_WriteClassOfDevice_Out callback.
  • hci_ReadVoiceSetting_Out
    Pointer to the hci_ReadVoiceSetting_Out callback.
  • hci_WriteVoiceSetting_Out
    Pointer to the hci_WriteVoiceSetting_Out callback.
  • hci_ReadAutomaticFlushTimeout_Out
    Pointer to the hci_ReadAutomaticFlushTimeout_Out callback.
  • hci_WriteAutomaticFlushTimeout_Out
    Pointer to the hci_WriteAutomaticFlushTimeout_Out callback.
  • hci_ReadNumBroadcastRetransmissions_Out
    Pointer to the hci_ReadNumBroadcastRetransmissions_Out callback.
  • hci_WriteNumBroadcastRetransmissions_Out
    Pointer to the hci_WriteNumBroadcastRetransmissions_Out callback.
  • hci_ReadHoldModeActivity_Out
    Pointer to the hci_ReadHoldModeActivity_Out callback.
  • hci_WriteHoldModeActivity_Out
    Pointer to the hci_WriteHoldModeActivity_Out callback.
  • hci_ReadTransmitPowerLevel_Out
    Pointer to the hci_ReadTransmitPowerLevel_Out callback.
  • hci_ReadSCOFlowControlEnable_Out
    Pointer to the hci_ReadSCOFlowControlEnable_Out callback.
  • hci_WriteSCOFlowControlEnable_Out
    Pointer to the hci_WriteSCOFlowControlEnable_Out callback.
  • hci_SetHostControllerToHostFlowControl_Out
    Pointer to the hci_SetHostControllerToHostFlowControl_Out callback.
  • hci_HostBufferSize_Out
    Pointer to the hci_HostBufferSize_Out callback.
  • hci_ReadLinkSupervisionTimeout_Out
    Pointer to the hci_ReadLinkSupervisionTimeout_Out callback.
  • hci_WriteLinkSupervisionTimeout_Out
    Pointer to the hci_WriteLinkSupervisionTimeout_Out callback.
  • hci_ReadNumberOfSupportedIAC_Out
    Pointer to the hci_ReadNumberOfSupportedIAC_Out callback.
  • hci_ReadCurrentIACLAP_Out
    Pointer to the hci_ReadCurrentIACLAP_Out callback.
  • hci_WriteCurrentIACLAP_Out
    Pointer to the hci_WriteCurrentIACLAP_Out callback.
  • hci_ReadPageScanPeriodMode_Out
    Pointer to the hci_ReadPageScanPeriodMode_Out callback.
  • hci_WritePageScanPeriodMode_Out
    Pointer to the hci_WritePageScanPeriodMode_Out callback.
  • hci_ReadPageScanMode_Out
    Pointer to the hci_ReadPageScanMode_Out callback.
  • hci_WritePageScanMode_Out
    Pointer to the hci_WritePageScanMode_Out callback.
  • hci_ReadLocalVersionInformation_Out
    Pointer to the hci_ReadLocalVersionInformation_Out callback.
  • hci_ReadLocalSupportedFeatures_Out
    Pointer to the hci_ReadLocalSupportedFeatures_Out callback.
  • hci_ReadBufferSize_Out
    Pointer to the hci_ReadBufferSize_Out callback.
  • hci_ReadCountryCode_Out
    Pointer to the hci_ReadCountryCode_Out callback.
  • hci_ReadBDADDR_Out
    Pointer to the hci_ReadBDADDR_Out callback.
  • hci_ReadFailedContactCounter_Out
    Pointer to the hci_ReadFailedContactCounter_Out callback.
  • hci_ResetFailedContactCounter_Out
    Pointer to the hci_ResetFailedContactCounter_Out callback.
  • hci_GetLinkQuality_Out
    Pointer to the hci_GetLinkQuality_Out callback.
  • hci_ReadRSSI_Out
    Pointer to the hci_ReadRSSI_Out callback.
  • hci_ReadLoopbackMode_Out
    Pointer to the hci_ReadLoopbackMode_Out callback.
  • hci_WriteLoopbackMode_Out
    Pointer to the hci_WriteLoopbackMode_Out callback.
  • hci_EnableDeviceUnderTestMode_Out
    Pointer to the hci_EnableDeviceUnderTestMode_Out callback.
  • hci_DataPacketDown_Out
    Pointer to the hci_DataPacketDown_Out callback.
  • hci_CallAborted
    Pointer to the hci_CallAborted callback.
  • hci_WritePageScanType_Out
    Pointer to the hci_WritePageScanType_Out callback. Added for version 2.
  • hci_WriteInquiryScanType_Out
    Pointer to the hci_WriteInquiryScanType_Out callback. Added for version 2.
  • hci_ReadPageScanType_Out
    Pointer to the hci_ReadPageScanType_Out callback. Added for version 2.
  • hci_ReadInquiryScanType_Out
    Pointer to the hci_ReadInquiryScanType_Out callback. Added for version 2.
  • hci_SetupSynchronousConnection_Out
    Pointer to the hci_SetupSynchronousConnection_Out callback. Added for version 2.
  • hci_AcceptSynchronousConnectionRequest_Out
    Pointer to the hci_AcceptSynchronousConnectionRequest_Out callback. Added for version 2.
  • hci_RejectSynchronousConnectionRequest_Out
    Pointer to the hci_RejectSynchronousConnectionRequest_Out callback. Added for version 2.
  • hci_WriteExtendedInquiryResponse_Out
    Pointer to the hci_WriteExtendedInquiryResponse_Out callback. Added for version 3.
  • hci_ReadExtendedInquiryResponse_Out
    Pointer to the hci_ReadExtendedInquiryResponse_Out callback. Added for version 3.
  • hci_WriteInquiryMode_Out
    Pointer to the hci_WriteInquiryMode_Out callback. Added for version 3.
  • hci_ReadInquiryMode_Out
    Pointer to the hci_ReadInquiryMode_Out callback. Added for version 3.
  • hci_SSPCommandComplete_Out
    Pointer to the hci_SSPCommandComplete_Out callback. Added for version 3.
  • hci_RefreshEncryptionKeyComplete_Out
    Pointer to the hci_RefreshEncryptionKeyComplete_Out callback. Added for version 3.

Remarks

This structure is a parameter of the HCI_EstablishDeviceContext function.

Requirements

Header

bt_ddi.h

See Also

Reference

Bluetooth HCI Structures