Compartilhar via


BthReadInquiryScanActivity (Compact 2013)

3/26/2014

This function retrieves the inquiry scan interval and window configuration properties of the controller.

Syntax

int BthReadInquiryScanActivity(
  unsigned short *pInquiryScanInterval,
    unsigned short *pInquiryScanWindow
);

Parameters

  • pInquiryScanInterval
    [out] Pointer to the interval in 0.625-millisecond intervals. The range is an even value from 0x0012 through 0x1000.
  • pInquiryScanWindow
    [out] Pointer to the window in 0.625-millisecond intervals. The range is a value from 0x0011 through 0x1000.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Connection Functions