DlnUartGetSupportedCharacterLengths() Function

The DlnUartGetSupportedCharacterLengths() function returns all supported character length types. This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetSupportedCharacterLengths(
    HDLN handle, 
    uint8_t port, 
    DLN_UART_CHARACTER_LENGTHS *supportedLengths
);
Parameters
handle

A handle to the DLN-series adapter.

port

UART port number.

supportedLengths

The pointer to DLN_UART_CHARACTER_LENGTHS structure which will be filled by supported character length values.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.