DlnUartGetEventSize() Function

The DlnUartGetEventSize() function retrieves the current event size value.This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetEventSize(
    HDLN handle, 
    uint8_t port, 
    uint16_t *size
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the UART port.

size

The pointer to uint16_t type variable. Variable will be filled with the current event size value after function execution.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and event size has been retrieved.