Hcireadpagescanmode() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 207

Advertising
background image

191

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

“Failure”

Number of supported IAC is a 1-byte value that specifies the number of
Inquiry Access Codes that the local Bluetooth device can listen for at one
time.

Comments

Reads the number of supported IACs.

Example

result = HCIReadNumberOfSupportedIAC ();

Trace("HCIReadNumberOfSupportedIAC returned: ", result[0],

"\n");

if (result[0] == "Success")

{

Trace("The number of supported IAC is: ", result[1],

"\n\n");

}

HCIReadPageScanMode()

HCIReadPageScanMode()

Return values

Returns a list with two values: status and page scan mode.

Status (element 0) is one of the following:

“Success”

“Failure”

Page scan mode (element 1) is the one-byte page scan mode value.
(0=Mandatory page scan mode; 1=Optional page scan mode I; 2=Optional
page scan mode II; 3=Optional page scan mode III.)

Comments

Reads the page scan mode value. This value indicates the mode used for
default page scan.

Example

result = HCIReadPageScanMode();

Trace("HCIReadPageScanMode returned: ", result[0], "\n");

if (result[0] == "Success")

{

Parameter

Meaning

Default Value

Comments

N/A

Advertising