Partager via


BthWriteInquiryScanActivity (Compact 7)

3/12/2014

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

Syntax

int BthWriteInquiryScanActivity(
    unsigned short inquiryScanInterval,
    unsigned short inquiryScanWindow
);

Parameters

  • inquiryScanInterval
    [in] Interval in 0.625-millisecond intervals. The range is an even value from 0x0012 through 0x1000.
  • inquiryScanWindow
    [in] 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