HciLEEnhancedTransmitterTest(int, int, BluetoothDtmLEPatternType, BluetoothDtmTransmitterPhy, out int)
- Updated2025-10-13
- 1 minute(s) read
Sends the command to the device under test (DUT) to start the transmitter test.
Syntax
Namespace: NationalInstruments.BluetoothDtm
public int HciLEEnhancedTransmitterTest(int channelNumber, int payloadLengthBytes, BluetoothDtmLEPatternType lePatternType, BluetoothDtmTransmitterPhy phy, out int status)
Parameters
| Name | Type | Description |
|---|---|---|
| channelNumber | int | Specifies the Bluetooth transmit channel number of the signal generated by the DUT. The default value is 0. |
| payloadLengthBytes | int | Specifies the length, in bytes, of payload data in each packet that the DUT transmits. The default value is 37. |
| lePatternType | BluetoothDtmLEPatternType | Specifies the type of payload to use for the LE packet. Payload type values of Type_Prbs9, Type_11110000, and Type_10101010 must be supported by the DUT. The remaining payload type values are optional. The default value is Type_Prbs9. |
| phy | BluetoothDtmTransmitterPhy | Specifies the type of the packet to be transmitted by the physical layer of the DUT. The default value is Phy_1Mbps. |
| status | out int | Returns the status of the transmitter test command. The DUT receives and executes the transmitter test command if the status parameter returns a 0x00 value. The transmitter test command fails if the status parameter returns a non-zero (0x01-0xFF) value. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.