Users Manual Instruction Manual
273
CATC BTTRAINER 2.11 CHAPTER
User’s Manual
AllowRoleSwitch Values defined for
HCI_CreateConnection command.
Value will be 0x00 (not allow role
switch) if ErrorType is not 0.
NumberOfPackets 0x0001 -- 0xFFFF Number of packets to transmit. On
completion, only NULL-POLL packets
will be transmitted to maintain the
connection
TimeLength 0x0000 -- 0xFFFF
(ms)
Amount of time to send data packets.
After TimeLength, only NULL-POLL
packets will be transmitted to maintain
the connection.
TimeLength will override
NumOfPackets parameter if TimeLength
value is not zero.
Data Cannot be longer than the maximum
packet size of the selected
min(PacketType,
maxHCICommandLength).
ErrorType Possible values listed in the table below
ErrorMask 0 - Random error
distribution
>0 - Set bits
indicate error
positions
If ErrorType is not zero, this parameter
is valid. It defines error distribution.
TxJitter 0 - No jitter is
added
Random jitter between --10 and +10us is
added to the nominal 1250 us Master Tx
timing. The value is 2’s compliment
Example of Jitter values are:
0-10 + Jitter 0 to10, w/o 0.5us
64-74+ Jitter 0 to10, w/ 0.5us
-64 to -74- Jitter -1 to -10, w/ 0.5us-
-1 to -10 - Jitter -1 to -10, w/o 0.5us
L_CH 1 L_CH=2b’01
Continuation
fragment of an
L2CAP message
(Default value)
Defines payload header L_CH value and
type of the payload to be sent.
2L_CH=2b’10
Start of an L2CAP
message or no
fragmentation