5.6.7 LE TX Test[v4] Command

Table 5-99. Format
CommandOGFOCFCommand ParametersReturn Parameters
LE TX Test[v4]0X080X007B

Tx_Channel,

Test_Data_Length,

Packet_Payload,

PHY,

CTE_Length,

CTE_Type,

Switching_Pattern_Length,

Antenna_IDs[i],

Transmit_Power_Level

Status

Use this command to start a test where the DUT generates test reference packets at a fixed interval. The controller transmits the packets. Do not allow the command during the LE RX test, so the users can use the LE Test End command to stop the LE RX test, then start the command. The command parameters include Tx_Channel, Test_Data_Length, Packet_Payload, PHY, CTE_Length, CTE_Type, Switching_Pattern_Length, Antenna_IDs and Transmit_Power_Level (see Command Parameters 1 and Command Parameters 2). The TX_Channel and PHY parameters specify that the transmitter must use the RF channel and PHY. The Test_Data_Length and Packet_Payload parameters specify the length and contents of the Payload of the test reference packets. An LE Controller supports Packet_Payload values 0x00, 0x01 and 0x02. The RNBD350 module does not support some parameters, including CTE_Length, CTE_Type, Switching Pattern_Length and Antenna_IDs, so the fields of CTE_Length and CTE_Type must be filled 0x00. The field of switching pattern length must be filled with 0x01, and the field of Antenna_IDs must be filled with 0x00. The command complete event with return parameters is generated (see Return parameter).

Table 5-100. Command Parameters 1
CommandSizeValueParameter Description
TX_Channel1 octetN = 0xXX

N = (F-2402)/2

Range: 0x00 to 0x27

Frequency Range: 2402 MHz to 2480 MHz

Test_Data_Length1 octet0x00 to 0xFFLength in bytes of payload data in each packet
Packet_Payload1 octet0x00

PRBS9 sequence ‘11111111100000111101…’ (in transmission order) as described in [Vol 6] Part F, Section 4.1.5

0x01

Repeated ‘11110000’ (in transmission order) sequence as described in [Vol 6] Part F, Section 4.1.5

0x02

Repeated ‘10101010’ (in transmission order) sequence as described in [Vol 6] Part F, Section 4.1.5

0x03PRBS15 sequence as described in [Vol 6] Part F, Section 4.1.5
0x04Repeated ‘11111111’ (in transmission order) sequence
0x05Repeated ‘00000000’ (in transmission order) sequence
0x06Repeated ‘00001111’ (in transmission order) sequence
0x07Repeated ‘01010101’ (in transmission order) sequence
All other valuesReserved for future use
PHY1 octet0x01

Transmitter set to use the LE 1M PHY

0x02

Transmitter set to use the LE 2M PHY

0x03Transmitter set to use the LE Coded PHY with S = 8 data coding
0x04Transmitter set to use the LE Coded PHY with S = 2 data coding
All other valuesReserved for future use
Table 5-101. Command Parameters 2
CommandSizeValueParameter Description
CTE_Length1 octet0x00Do not transmit a Constant Tone Extension
0x02 to 0x14Length of the Constant Tone Extension in 8 μs units
All other valuesReserved for future use
CTE_Type1 octet0x00AoA Constant Tone Extension
0x01

AoD Constant Tone Extension with 1 μs slots

0x02

AoD Constant Tone Extension with 2 μs slots

All other valuesReserved for future use
Switching_Pattern_Length1 octet0x02 to 0x4BThe number of Antenna IDs in the pattern
All other valuesReserved for future use
Antenna_IDs[i]: Size: Switching_Pattern_Length1 octet0xXXList of Antenna IDs in the pattern
Transmit_Power_Level1 octet0xXX

Set transmitter to the specified or the nearest transmit power level.

Range: -127 to +20

Units: dBm

0x7E

Set transmitter to minimum transmit power level

0x7F

Set transmitter to maximum transmit power level

Table 5-102. Return Parameters
CommandSizeValueParameter Description
Status1 octet0x00

HCI_LE_-Transmitter_-Test command succeeded

0x01 to 0xFF

HCI_LE_-Transmitter_-Test command failed. See [Vol 1] Part F, Controller Error Codes for a list of error codes and descriptions

ItemFirmware Version 1.0 and LaterDescription
Example:01 7B 20 09 00 FF 00 01 00 00 01 00 0FLE TX test[v4] command
Response:04 0E 04 01 7B 20 00

Command complete event with status parameter