Equivalent of C's strerror

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
shedc_3597396
Level 1
Level 1
First like received

Hi,

I was just wondering if there was a way to print the errors encountered in code. Right now, in my code, I'm trying to send udp packets to a server and it fails but I don't know why. I'm getting an error code 7014 but I don't know what that means. If there isn't some equivalent of strerror in wiced-studio, is there a centralized documentation of all these errors? Is there also some easy way to access those like the "Open Declaration" option.

Thanks,

Shannen

0 Likes
1 Solution
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

Take a look at include/wiced_constants.h and include/wiced_result.h

7014 means socket closed.

View solution in original post

0 Likes
1 Reply
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

Take a look at include/wiced_constants.h and include/wiced_result.h

7014 means socket closed.

0 Likes