You are here

DlnUartGetCharacterLength() Function

The DlnUartGetCharacterLength() function retrieves the current data character length.This function is defined in the dln_uart.h file.

Syntax
C/C++
DLN_RESULT DlnUartGetCharacterLength(
    HDLN handle, 
    uint8_t port, 
    uint8_t *characterLength
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the UART port.

characterLength

The pointer to uint8_t type variable. Retrieve the current data character length value.

Return Value
DLN_RES_SUCCESS

The operation completed successfully and character length has been retrieved successfully.

User login