Sniff_mode, Switch_role, Write_link_policy_settings – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 112: Sniff_mode switch_role write_link_policy_settings

Advertising
background image

96

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

A

User’s Manual

Command Generator Command Descriptions

Sniff_Mode

Places the specified ACL link into Sniff mode.

Switch_Role

Switches the current role (master/slave) of the calling device with the role
of the device specified.

Write_Link_Policy_Settings

Writes link policy settings for the specified ACL link.

Return Events

Role_Discovery_Complete

Role_Discovery_Error

Command Parameters

Examples

Comments

HCI_Handle

0x0001

Max_Interval

0xFFFF

0x0001 - 0xFFFF

Min_Interval

0x01

0x0001 - 0xFFFF

Attempt

0x3FF6

0x0001 - 0x7FFF

Timeout

0x7FFF

0x0000 - 0x7FFF

Return Events

Mode_Change

Sniff_Mode_Error

Command Parameters

Examples

Comments

BD_ADDR

0x010203040506

Return Events

Role_Change_Complete

Role_Change_Error

Command Parameters

Examples

Comments

HCI_Handle

0x0001

Link_Policy_Settings

0xF

0x0000: Disable all LM
modes
0x0001: Enable
master/slave switch
0x0002: Enable Hold Mode
0x0004: Enable Sniff Mode
0x0008: Enable Park Mode
0xF: Enable all (Default)

Advertising