beautypg.com

Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 282

background image

264

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Return value

"Success"

“Failure”

Comments

This command provides means to send an SDP request with a sequence of
bytes provided by the user. Allows the customization of SDP request to
send requests with invalid parameters.

The SDP request would be composed of the following fields:

PDU ID - as specified by the PduID parameter.

Transaction ID - Calculated internally by the system

Length - Calculated internally by the system.

Parameters - The data following the 5th byte is taken from the
'data_to_send' filed in the command.

Example

result = SDPGenericQuery(Device,

0xB8, 8,

'DD330BB01ABEF0123456789ABCDEF0123456789ABCDEF11111');

if (result != "Success")

{

Trace("SDPGenericQuery() - Failed. Result=", result,

"\n");

}

PduID

PDU ID that

would be used
for the request

1

1 byte value

Size

Number of
bytes to be

used from

’data.’

data_to_send

Byte values to

be used for

constructing

the ASDP

request.

Hex values

Parameter

Meaning

Default Value

Comments