BthWritePageScanType (Compact 2013)

3/26/2014

This function sets the page scan-type property of the controller.

Syntax

int BthWritePageScanType(
    unsigned char pageScanType
);

Parameters

  • pageScanType
    [in] Scan type.

    Set to zero (0) for a non-interlaced scan or One for an interlaced scan. Non-interlaced is the default value.

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