5.6.6 LE TX Test[v2] Command
Command | OGF | OCF | Command Parameters | Return Parameters |
---|---|---|---|---|
LE TX Test[v2] | 0X08 | 0X0034 | Tx_Channel, Test_Data_Length, Packet_Payload, PHY | 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 LE RX test, then start the command. The command parameters include Tx_Channel, Test_Data_Length, Packet_Payload and PHY. 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 command complete event with return parameters is generated.
Command parameters:
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 |
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 34 20 04 00 25 00 01 | // LE TX test[v2] command |
Response: | 04 0E 04 01 34 20 00 | // Command complete event with status parameter |