DlnOpenDeviceBySn()

  DLN_RESULT DlnOpenDeviceBySn(
     uint32_t sn,
     HDLN* deviceHandle
  );

The DlnOpenDeviceBySn() function opens a specified device. The device is defined by its serial number.

A device serial number is factory-assigned and cannot be changed.

Parameters:

sn
A serial number of the DLN-series adapter.
deviceHandle
A pointer to the variable that receives the device handle after the function execution.

This function is defined in the dln_generic.h file.