beautypg.com

Hcicatcselectscoconnection, Hcicatcselftest, Hcicatcselectscoconnection hcicatcselftest – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 180

background image

162

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

}

HCICATCSelectSCOConnection

HCICATCSelectSCOConnection(HCI_Handle, Data_Path,
Data_Length)

Return Events

Command Complete will return after the operation has completed.

Comments

Select current SCO connection among up to three SCO connections.

HCICatcSelfTest

HCICatcReadRevisionInformation()

Return value

“Success”

“Failure”

Comments

This command is used to perform a self test on a local device.

Parameter

Meaning

Default Value

Comments

HCI_Handle

HCI Handle of the SCO connection to be
selected.

Data_Path

0 - "PCM"
(default)

1 - "HCI"

"PCM" -- PCM CODEC is used to send and
receive voice data for the current SCO
connection. "HCI" -- voice data is sent
according to the "Data_Pattern" parameter.
The received voice data is routed to the PCM
CODEC.

Data_Length

0-30

Valid only if "Data_Path=HCI" is selected.If
0, the data pattern is PRBS-9.

Data_Pattern

Raw data pattern
up to 30 bytes

Valid only if "Data_Path=HCI" is selected. If
0, the data pattern is PRBS-9. The pattern
will be used for HV1, HV2, HV3, and both
Voice and Data portions of DV packet. If
Data_Length is less than the size of the voice
packet, it’ll be padded with ‘0’. If
Data_Length exceeds the size of the voice
packet, it’ll be trimmed to fit into it.

Parameter

Meaning

Default Value

Comments

N/A