The DlnUartWrite() function sends data via UART interface. This function is defined in the dln_uart.h file.
DlnUartWrite()
dln_uart.h
DLN_RESULT DlnUartWrite( HDLN handle, uint8_t port, uint16_t size, uint8_t *buffer );
A handle to the DLN-series adapter.
A number of the UART port.
The size of the message buffer. This parameter is specified in bytes. The maximum value is DLN_UART_MAX_TRANSFER_SIZE (256 bytes).
DLN_UART_MAX_TRANSFER_SIZE
A pointer to an array of unsigned 8-bit integers. This array must be filled with data to be sent during the function execution.
The operation completed successfully and data has been transmitted.