Hciresetfailedcontactcounter, Hcirolediscovery, Hciresetfailedcontactcounter hcirolediscovery – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 221

Advertising
background image

203

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

HCIResetFailedContactCounter

HCIResetFailedContactCounter(Address)

Return value

"Success"

"Failure"

"Not connected"

"Failed: Not found"

Comments

This command will reset the value for the Failed_Contact_Counter param-
eter for a particular connection to another device.

Example

Address = '010203040506';

result = HCIResetFailedContactCounter (Address);

Trace(result);

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.

Parameter

Meaning

Default Value

Comments

Address

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