The DlnOpenUsbDeviceBySn() function opens the device, connected to the USB bus of the local computer, with serial number equal to the value passed in the sn parameter. A device serial number is factory-assigned and cannot be changed.
DlnOpenUsbDeviceBySn()
sn
DLN_RESULT DlnOpenUsbDeviceBySn( uint32_t sn, HDLN* deviceHandle );
The serial number of the DLN-series adapter.
A pointer to the HDLN type variable that receives the device handle.
The function successfully opened the DLN device defined by serial number.
The DlnOpenUsbDeviceBySn() function is defined in the dln_generic.h file.
dln_generic.h