beautypg.com

Hcireadpintype, Hcireadremotesupportedfeatures, Hcireadpintype hcireadremotesupportedfeatures – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 214

background image

196

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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")

{

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

}

HCIReadRemoteSupportedFeatures

HCIReadRemoteSupportedFeatures(Address)

Return values

Returns a list with two values: status and features.

Status (element 0) is one of the following:

“Success”

“Failure”

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to con-

nect with.