What do the errno from LWIP mean in wiced context.

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

cross mob
Félix_T
Level 5
Level 5
10 sign-ins First comment on blog 50 replies posted

We are getting spontaneously disconnected from the AP.  I saw another thread that suggested enabling the keep alive option to resolve this.  Regardless of any fix, I would like to know what some of the errnos we are seeing mean.  These are all seen when trying to send using lwip_send.

1. #define  EINPROGRESS    115  /* Operation now in progress */

     What does operation in progress mean?  What operation?

2. #define  EAGAIN       11  /* Try again */

     This one is pretty self evident, and I understand that the message should be resent, but does anyone know why I would see this?

3. #define  EIO           5  /* I/O error */

     IO error I get, but at which layer?  Is it caused by the SDIO connection between the host processor and the BCM433262 or is it an IO error at the wifi level?

0 Likes
1 Solution
Félix_T
Level 5
Level 5
10 sign-ins First comment on blog 50 replies posted

Asynchronously sending and receiving using LWIP calls on a single socket caused these issues.  We have changed to a better windowed scheme and haven't seen these failures under the same conditions.

View solution in original post

16 Replies