Hcireset(), Hcirolediscovery(), Hcireset() hcirolediscovery() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 216

Advertising
background image

200

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

HCIReset()

HCIReset()

Return value

“Success”

“Failure”

“Invalid parameter”

“Failed: Invalid Type”

“Failed: HCI initialization error”

Comments

Resets the Host Controller and Link Manager.

Example

result = HCIReset();

HCIRoleDiscovery()

HCIRoleDiscovery(Address)

Return value

“Master”

“Slave”

“Failure”

“Failed: Device not found”

“Not connected”

Comments

Attempts to discover the role of our device relative to the specified device.

Example

result = HCIRoleDiscovery('6E8110AC0108');

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device rela-

tive to which

we want to

know our role

A connection must exist with this address for
Role Discovery to work.

Advertising