Set_event_mask – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 120

Advertising
background image

104

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

A

User’s Manual

Command Generator Command Descriptions

Set_Event_Mask

Set_Event_Mask is used to control which events are generated by the HCI
for the Host.

Condition

0x01

0x00=Allow Connections
from all devices

0x01=Allow Connections
from a device with a
specific Class of Device

0x02=Allow Connections
from a device with a
specific BD_ADDR

Return Events

Set_Event_Filter_Complete

Set_Event_Filter_Error

Command Parameters

Examples

Comments

Event_Mask

NO_EVENTS

0x0000

INQUIRY_RESULT

0x0001

INQUIRY_COMPLETE

0x0002

INQUIRY_CANCELED

0x0004

LINK_CONNECT_IND

0x0008

SCO_CONNECT_IND

0x0010

LINK_DISCONNECT

0x0020

LINK_CONNECT_CNF

0x0040

LINK_CON_RESTRICT

0x0080

MODE_CHANGE

0x0100

ACCESSIBLE_CHANGE

0x0200

AUTHENTICATED

0x0400

ENCRYPTION_CHANGE

0x0800

SECURITY_CHANGE

0x1000

ROLE_CHANGE

0x2000

SCO_DISCONNECT

0x4000

SCO_CONNECT_CNF

0x8000

ALL_EVENTS

0xffff

Return Events

Set_Event_Mask_Complete

Set_Event_Mask_Error

Command Parameters

Examples

Comments

Advertising