zephyriot / zep-jira14

0 stars 0 forks source link

Sample mbedDTLS DTLS client stability on ethernet driver #1058

Closed nashif closed 7 years ago

nashif commented 7 years ago

Reported by Sergio Rodriguez:

The current DTLS client running on top of the driver enc28j60 and arduino 101, presents stability issues, like nor completting the handshake, or not able to initiate/terminate the handshake in some cases

(Imported from Jira ZEP-1169)

nashif commented 7 years ago

by Sergio Rodriguez:

Also mbedTLS has been working as expected on QEMU

nashif commented 7 years ago

by Mark Linkmeyer:

Correcting the priority field

nashif commented 7 years ago

by Juan Manuel Cruz Alcaraz:

Even after 11757,1 commit, there are stability issues yet.

The root cause is that sometimes, in Arduino 101 board, the net_nbuf_get_reserve_data command never returns.

This is an issue with the IP stack on Arduino 101 only. The amount of traffic is so low that it does not justify that the IP stack runs out of buffers.

I suggest to attack the root cause and open a JIRA ticket for this particular IP stack issue, enabling the K_FOREVER option in Arduino 101.

nashif commented 7 years ago

by Kuo-Lang Tseng:

This is currently blocked by GH-1703.

nashif commented 7 years ago

by Kuo-Lang Tseng:

Juan Manuel Cruz Alcaraz , GH-1703 has been fixed and closed. Can you try out again to see if this issue is now fixed?

nashif commented 7 years ago

by Mark Linkmeyer:

Sharron LIU , please assign the appropriate verification label to this bug.

nashif commented 7 years ago

by Kuo-Lang Tseng:

Closing this bug as all associated patches have been merged. Sergio Rodriguez , if this is not fixed, please re-open. Thanks.