The DlnGetDeviceId() function retrieves the device ID number.
DlnGetDeviceId()
DLN_RESULT DlnGetDeviceId( HDLN handle, uint32_t* id );
A handle to the DLN-series device.
A pointer to an unsigned 32-bit integer that receives the ID number.
The function successfully retrieved the DLN device ID.
You can change the device ID number using the DlnSetDeviceId() function.
The DlnGetDeviceId() function is defined in the dln_generic.h file.
dln_generic.h