The DlnOpenDeviceById() function opens the device defined by its ID number.
DlnOpenDeviceById()
DLN_RESULT DlnOpenDeviceById( 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 defined by ID.
You can change the device ID by using the DlnSetDeviceId() function.
The DlnOpenDeviceById() function is defined in the dln_generic.h file.
dln_generic.h