Share via


BthWriteInquiryScanType (Compact 2013)

3/26/2014

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

Syntax

int BthWriteInquiryScanType(
    unsigned char inquiryScanType
);

Parameters

  • inquiryScanType
    [in] Scan type.

    Set to zero (0) to specify a non-interlaced scan. One (1) to specify 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