NIBluetoothDtm Class
- Updated2025-10-13
- 2 minute(s) read
Defines a root class which is used to identify and control BluetoothDtm signal configuration.
Derives from
- IDisposable
Syntax
Namespace: NationalInstruments.BluetoothDtm
public class NIBluetoothDtm : IDisposable
Constructors
| Name | Description |
|---|---|
| NIBluetoothDtm(string) | Creates an NI-VISA session to the device you specify through the resourceName parameter. |
Methods
| Name | Description |
|---|---|
| Close() | Closes a device session or the event object that you specify in the VISA resource name parameter. |
| ConfigureVisaSerialSettings(ushort, uint, BluetoothDtmFlowControl, BluetoothDtmStopBits, BluetoothDtmParity) | Configures the VISA serial settings for the device under test (DUT) specified by the VISA resource name parameter. |
| CreateCustomCommand(int[], int[], ref int[]) | Sends the specified custom command to the device under test (DUT). |
| Dispose() | Closes the VISA session. Call this method a number of times equal to the number of times you obtained a reference to the VISA session for a particular resource name. |
| HciLEDirectionFindingReceiverTest(int, BluetoothDtmModulationIndex, BluetoothDtmReceiverPhy, BluetoothDtmDirectionFindingMode, int, double, double, int[], out int) | Sends a command to the device under test (DUT) to start the receiver test. |
| HciLEDirectionFindingTransmitterTest(int, int, BluetoothDtmLEPatternType, BluetoothDtmTransmitterPhy, BluetoothDtmDirectionFindingMode, int, double, double, int[], out int) | Sends a command to the device under test (DUT) to start the transmitter test. |
| HciLEEnhancedReceiverTest(int, BluetoothDtmModulationIndex, BluetoothDtmReceiverPhy, out int) | Sends a command to the device under test (DUT) to start the receiver test. |
| HciLEEnhancedTransmitterTest(int, int, BluetoothDtmLEPatternType, BluetoothDtmTransmitterPhy, out int) | Sends the command to the device under test (DUT) to start the transmitter test. |
| HciLEReceiverTest(int, out int) | Sends a command to the device under test (DUT) to start the receiver test. |
| HciLETestEnd(out int, out int) | Sends the command to the device under test (DUT) to end the transmitter or receiver test. |
| HciLETransmitterTest(int, int, BluetoothDtmLEPatternType, out int) | Sends a command to the device under test (DUT) to start the transmitter test. |
| HciReadBluetoothDeviceAddress(out long, out int) | Sends the command to the device under test (DUT) to get its Bluetooth device (BD) address. |
| HciReset(out int) | Resets the device under test (DUT) specified by the VISA resource name parameter. |
| SetVisaTimeout(uint) | Sets the timeout value, in milliseconds (ms), for the VISA session of the device under test (DUT), specified by the VISA resource name parameter. |