Set_connection_encryption – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 109

Advertising
background image

93

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

A

User’s Manual

Command Generator Command Descriptions

process. The Clock_Offset parameter is the difference between its own
clock and the clock of the remote device with BD_ADDR. Only bits 2
through 16 of the difference are used and they are mapped to this parameter
as bits 0 through 14 respectively. A Clock_Offset_Valid_Flag, located in bit
15 of the Clock_Offset command parameter, is used to indicate if the Clock
Offset is valid or not.

Set_Connection_Encryption

Set_Connection_Encryption is used to enable and disable the link-level
encryption.

Command Parameters

Examples

Comments

BD ADDR

0x010203040506

Page Scan Rep Mode

0x0

0x00=R0; 0x01=R1;
0x02=R2

Page Scan Mode

0x0

0x00=Mandatory Page
Scan Mode

0x01=Optional Page Scan
Mode I

0x02=Optional Page Scan
Mode II

0x03=Optional Page Scan
Mode III

Clock Offset

0x0

Bit Format:

Bit 14.0 = Bit 16.2 of

CLKslave -
CLKmaster.

Bit 15 = Clock_Offset_
Valid_Flag

where

0= Invalid Clock Offset

1=Valid Clock Offset

Return Events

Remote_Name_Request_Complete

Remote_Name_Request_Error

Command Parameters

Examples

Comments

HCI_Handle

0x0001

Encryption_Enable

1

Range: 0 or 1

Return Events

Set_Connection_Encryption_Complete

Set_Connection_Encryption_Error

Advertising