This function returns the unique id of a device with a specific index.
To get all the id numbers you should loop over all the devices:
int intNumberOfDevices = tdGetNumberOfDevices();
for (int i = 0; i < intNumberOfDevices; i++) {
int id = tdGetDeviceId( i );
// id now contains the id number of the device with index of i
}
Parameters:
intDeviceIndex The device index to query. The index starts from 0.
Returns:
The unique id for the device or -1 if the device is not found.
This function returns the unique id of a device with a specific index.
To get all the id numbers you should loop over all the devices:
Parameters:
Returns: