DlnUartGetMaxBaudrate() Function

The DlnUartGetMaxBaudrate() function retrieves the maximum possible baud rate value.This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetMaxBaudrate(
    HDLN handle, 
    uint8_t port, 
    uint32_t *maxBaudrate
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the UART port.

maxBaudrate

The pointer to uint32_t type variable. Variable will contain maximum possible baud rate value after function execution.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and maximum baud rate value has been retrieved.