I am trying to open UART1 but it is returning positive 9 num


#1

Dear All,
I am trying to open UART1 by using OS API but it is returning positive 9 digit number. I am not aware about this.
interface_handler = adl_OpenDevice(DF_UART_CLID, &uart_settings);
I gone through the Open at documents found that positive value is SUCCESS, Negative value is FAILED.

Is it address?
Please share your knowledge. Thanks


#2

As you can refer in the ‘ADL user guide’, this is the UART service provider handle on success, to be used in further Open
UART service function calls.

-Alex