The DlnUartRead() function receives data via UART interface.This function is defined in the dln_uart.h file.
A handle to the DLN-series adapter.
A number of the UART interface port.
The size of the message buffer. This parameter is specified in bytes. The maximum value is DLN_UART_MAX_TRANSFER_SIZE (256 bytes).
A pointer to an array of unsigned 8-bit integers. This array will be filled with received data during the function execution.
A pointer to an array of unsigned 16-bit integers. This variable will be filled with actual data size value.
The operation completed successfully and data has been read.