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

WIPlib and WIPsoft, TCP, UDP, FTP, SSL, HTTP, gateway services, …

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

Postby ganeshkimidi » Wed Aug 10, 2016 5:09 am

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
ganeshkimidi
 
Posts: 36
Joined: Thu Jun 23, 2016 10:48 pm
Has thanked: 0 time
Have thanks: 0 time

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

Postby Rex_alex » Wed Aug 10, 2016 6:25 am

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
User avatar
Rex_alex
 
Posts: 1382
Joined: Thu Jan 01, 1970 12:00 am
Has thanked: 0 time
Have thanks: 83 times


Return to TCP/IP, Internet and Security libraries

Who is online

Users browsing this forum: No registered users and 1 guest