Users Manual Instruction Manual

274
CATC BTTRAINER 2.11 CHAPTER
Users Manual
ErrorType
Return value
"Success"
•"Failure"
"Invalid Parameter"
"Already connected"
"Timed out"
Example
#
# HCI_CatcCreateConnectionExt
#
Main()
{
Device = '008037163567';
PacketType = ["DM3"];
PageScanRepetitionMode = 0x0;
PageScanMode = 0x0;
ClockOffset = 0;
AllowRoleSwitch = 1;
NumberOfPackets = 1000;
TimeLength = 0;
Data = 0x010203;
ErrorType = 0x0000;
ErrorMask = 0x0000;
3L_CH = 11 - LMP
Message
0x0000 No error
0x0001 FEC 1/3 -- uncorrectable packet header
0x0002 FEC 2/3 -- uncorrectable payload.
Special case is for DV payload
0x0004 Explicit NAK
0x0008 SEQN. See TP/PROT/ARQ/BV-18-C test case
0x0010 FLOW control
0x0020 Same SEQN value. See TP/PROT/ARQ/BV-23-C test case
0x0040 Wrong UAP
0x0080 Wrong AM_ADDR of the slave
0x0100 Deadlock avoidance according to the LMP test case TP/LIH/BV-81-C