5.6.7 LE TX Test[v4] Command
Command | OGF | OCF | Command Parameters | Return Parameters |
---|---|---|---|---|
LE TX Test[v4] | 0X08 | 0X007B | 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
Value | Parameter Description |
---|---|
N = 0xXX | N = (F-2402)/2 Range: 0x00 to 0x27 Frequency Range: 2402 MHz to 2480 MHz |
Test_Data_Length: Size: 1 octet
Value | Parameter Description |
---|---|
0x00 to 0xFF | Length in bytes of payload data in each packet |
Packet_Payload: Size: 1 octet
Value | Parameter 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 |
0x03 | PRBS15 sequence as described in [Vol 6] Part F, Section 4.1.5 |
0x04 | Repeated ‘11111111’ (in transmission order) sequence |
0x05 | Repeated ‘00000000’ (in transmission order) sequence |
0x06 | Repeated ‘00001111’ (in transmission order) sequence |
0x07 | Repeated ‘01010101’ (in transmission order) sequence |
All other values | Reserved for future use |
PHY: Size: 1 octet
Value | Parameter Description |
---|---|
0x01 | Transmitter set to use the LE 1M PHY |
0x02 | Transmitter set to use the LE 2M PHY |
0x03 | Transmitter set to use the LE Coded PHY with S = 8 data coding |
0x04 | Transmitter set to use the LE Coded PHY with S = 2 data coding |
All other values | Reserved for future use |
Command parameters 2:
CTE_Length: Size: 1 octet
Value | Parameter Description |
---|---|
0x00 | Do not transmit a Constant Tone Extension |
0x02 to 0x14 | Length of the Constant Tone Extension in 8 μs units |
All other values | Reserved for future use |
CTE_Type: Size: 1 octet
Value | Parameter Description |
---|---|
0x00 | AoA Constant Tone Extension |
0x01 | AoD Constant Tone Extension with 1 μs slots |
0x02 | AoD Constant Tone Extension with 2 μs slots |
All other values | Reserved for future use |
Switching_Pattern_Length: Size: 1 octet
Value | Parameter Description |
---|---|
0x02 to 0x4B | The number of Antenna IDs in the pattern |
All other values | Reserved for future use |
Antenna_IDs[i]: Size: Switching_Pattern_Length * 1 octet
Value | Parameter Description |
---|---|
0xXX | List of Antenna IDs in the pattern |
Transmit_Power_Level: Size: 1 octet
Value | Parameter 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 |
Status: Size: 1 octet
Value | Parameter 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 |