beautypg.com

Hcireadcountrycode, Hcireadcurrentiaclap, Hcireadcountrycode hcireadcurrentiaclap – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 201

background image

183

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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

}

HCIReadCountryCode

HCIReadCountryCode()

Return values

Returns a list with two values: status and country code.

Status (element 0) is one of the following:

“Success”

“Failure”

Country code (element 1) is the one-byte country code value. (0=North
America and Europe; 1=France.)

Comments

Reads the country code value. This value defines which range of frequency
band of the ISM 2.4-GHz band is used by the device.

Example

result = HCIReadCountryCode();

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

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

{

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

}

HCIReadCurrentIACLAP

HCIReadCurrentIACLAP()

Return value

Returns a list with two values: status and Current IAC LAP.

Status (element 0) is one of the following:

“Success”

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A