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

Page 209

Advertising
background image

193

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

“Success”

“Failure”

Page timeout (element 1) is the two-byte page timeout value, in increments
of 0.625-msec intervals.

Comments

Reads the page timeout value. This value defines the maximum time the
local Link Manager will wait for a baseband page response from the
remote device at a locally initiated connection attempt.

Example

result = HCIReadPageTimeout();

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

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

{

Trace("Page timeout is: 0x", result[1], "\n");

}

HCIReadPINType()

HCIReadPINType()

Return values

Returns a list with two values: status and PIN type.

Status (element 0) is one of the following:

“Success”

“Failure”

PIN type (element 1) is the one-byte PIN type. (0=Variable PIN; 1=Fixed
PIN.)

Comments

Reads the PIN type, which determines whether the Host supports variable
PIN codes or only a fixed PIN code.

Example

result = HCIReadPINType();

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

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

{

Parameter

Meaning

Default Value

Comments

N/A

Advertising