5.6.7 LE TX Test[v4] Command

Table 5-35. LE TX Test[v4] Command
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).

Command parameters 1:

TX_Channel: Size: 1 octet

ValueParameter Description
N = 0xXX

N = (F-2402)/2

Range: 0x00 to 0x27

Frequency Range: 2402 MHz to 2480 MHz

Test_Data_Length: Size: 1 octet

ValueParameter Description
0x00 to 0xFF

Length in bytes of payload data in each packet

Packet_Payload: Size: 1 octet

ValueParameter Description
0x00

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

PHY: Size: 1 octet

ValueParameter Description
0x01

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

Command parameters 2:

CTE_Length: Size: 1 octet

ValueParameter Description
0x00Do 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_Type: Size: 1 octet

ValueParameter Description
0x00AoA 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_Length: Size: 1 octet

ValueParameter Description
0x02 to 0x4BThe number of Antenna IDs in the pattern
All other valuesReserved for future use

Antenna_IDs[i]: Size: Switching_Pattern_Length * 1 octet

ValueParameter Description
0xXXList of Antenna IDs in the pattern

Transmit_Power_Level: Size: 1 octet

ValueParameter Description
0xXX

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

Figure 5-8. Return Parameters

Status: Size: 1 octet

ValueParameter Description
0x00

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.

Example:01 7B 20 09 00 FF 00 01 00 00 01 00 0F// LE TX test[v4] command
Response:04 0E 04 01 7B 20 00

// Command complete event with status parameter