The DlnUartGetPortCount() function retrieves the total number of the UART ports available in your DLN-series adapter.
DlnUartGetPortCount()
This function is defined in the dln_uart.h file.
dln_uart.h
DLN_RESULT DlnUartGetPortCount( HDLN handle, uint8_t *count );
A handle to the DLN-series adapter.
A pointer to an unsigned 8-bit integer. This integer will be filled with the number of available ports after function execution.
The UART port count has been successfully retrieved.