The DlnOpenUsbDeviceById() function opens the device, connected to the USB bus of the local computer, with ID number equal to the value passed in the id parameter.
DlnOpenUsbDeviceById()
id
DLN_RESULT DlnOpenUsbDeviceById( uint32_t id, HDLN* deviceHandle );
An ID of the DLN-series adapter.
A pointer to the HDLN type variable that receives the device handle.
The function successfully opened the DLN device specified by ID.
You can change the device ID by using the DlnSetDeviceId() function.
The DlnOpenUsbDeviceById() function is defined in the dln_generic.h file.
dln_generic.h