Hcireadcountrycode(), Hcireadcurrentiaclap(), Hcireadcountrycode() hcireadcurrentiaclap() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 200

Advertising
background image

184

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

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”

“Failure”

Current IAC LAP (element 1) is the 3-byte value of the LAPs (Lower
Address Part) that make up the current IAC (Inquiry Access Code).

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A

Advertising