Transfer data using command generator – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 85

Advertising
background image

69

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

7

User’s Manual

Data Transfer Manager and Data Pipes

Transfer Data Using Command Generator

Note

: A data pipe needs to be created in Data Transfer Manager before the data can be

transferred. See Section 7.1, “Creating Data Pipes,” on page 67 to learn how to do
this.

Step 1

Open Command Generator by clicking on the Command
Generator icon

on the Toolbar or selecting Tools >

Command Generator from the menu bar.

Step 2

Establish an RFCOMM or L2CAP connection with the
target device.

To establish an RFCOMM connection:

(a)

Using the Device List pop-up menu, create an ACL connection. To
find out how to do this, see “Create an ACL Connection” on page 62.

(b)

In Command Generator, open the RFCOMM tab.

(c)

Select OpenClientChannel from the list of commands. Enter the
HCI_Handle (this is shown on the Piconet tab) and ServerChannel
parameters. The default values for MaxFrameSize and Credit can be
used. When the parameter values are all entered, press Execute.

The RFCOMM connection will show up in the Piconet.

To establish an L2CAP connection:

(a)

Using the Device List pop-up menu, create an ACL connection. To
find out how to do this, see “Create an ACL Connection” on page 62.

(b)

In Command Generator, open the L2CAP tab.

(c)

Select RegisterPsm from the list of commands. Enter the PSM and
Receive MTU parameters, then press Execute. Note: RegisterPsm
must also be executed for the target device.

(d)

Select ConnectRequest from the list of commands. Enter the
HCI_Handle, PSM, and Receive MTU parameters, then press
Execute.

The L2CAP connection will display on the Piconet tab.

Step 3

Select SendData from the RFCOMM or L2CAP menu,
depending on which type of connection was established in
Step 2.

The first two Parameters Combo Boxes will become activated, indicating
that the (HCI / DLCI) for RFCOMM, or CID for L2CAP, and Data Pipe
parameters are required for this command.

Step 4

Enter or select the appropriate (HCI / DLCI) or CID
channel
and Data Pipe name in the Parameters Combo

Advertising