BthReadPageScanActivity (Compact 2013)

3/26/2014

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

Syntax

int BthReadPageScanActivity(
    unsigned short* pPageScanInterval,
    unsigned short* pPageScanWindow
);

Parameters

  • pPageScanInterval
    [out] Pointer to the interval in 0.625-millisecond intervals. The range is an even value from 0x0012 through 0x1000.
  • pPageScanWindow
    [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_OUTOFMEMORY

Unable to create host controller interface (HCI) command.

ERROR_INTERNAL_ERROR

HCI call failed.

ERROR_TIMEOUT

HCI call timed out.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Connection Functions