The DlnUartSetBaudrate() function sets the baud rate, which represents the number of bits that are actually being sent.This function is defined in the dln_uart.h file.
DlnUartSetBaudrate()
dln_uart.h
DLN_RESULT DlnUartSetBaudrate( HDLN handle, uint8_t port, uint32_t baudrate, uint32_t *actualBaudrate );
A handle to the DLN-series adapter.
A number of the UART port to be configured.
The Baud rate value. The minimal baud rate value can be achieved by DlnUartGetMinBaudrate() function. The maximum baud rate value can be achieved by using DlnUartGetMaxBaudrate() function.
DlnUartGetMinBaudrate()
DlnUartGetMaxBaudrate()
The pointer to uint32_t type value, which will be filled with actual Baud rate value to be set. This value is rounded value of baudrate parameter.
baudrate
The operation completed successfully and baud rate has been set.