[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tinydtls-dev] Feedback trying to use tinyDTLS with Contiki 2.7
|
Hi Raul, developers,
On 11/29/2016 04:13 PM, Raul Fuentes wrote:
Hi Gaëtan,
Now after some time, the client and server get stuck I will try to
see why.
I have noticed this also with my implementation over RIOT. There is
a point where the server is unable to accept new DTLS sessions (around
the sixth time a node tries to establish a DTLS session with PSK). My
theory is that the DTLS session are not cleaning properly the memory
released from previous DTLS sessions.
For the "getting stuck" status, it was that the first ClientHello was
received by the server but not the second.
The second is a bit bigger than the first one and it was a size limit.
It was only a problem of my border-router UIP_CONF_BUFFER_SIZE that was
not set and so was not big enough.
Setting it to 1500 fixed everything.
Communication with both PSK and ECC is now working with one client and
one server.
However with ECC, connection is really slow on our hardware so maybe not
really usable in practice.
I did not tested long time usage for the moment however.
For the problems of include I mentioned before, I choose to include
dtls_config.h in tinydtls.h and include tinydtls.h in almost all headers.
Now it's both working with utash and without.
I will give more feedback if I find new issues or have good news while
using it more.
Regards,
Gaëtan Harter
Sincerely, Raul Fuentes
_______________________________________________
tinydtls-dev mailing list
tinydtls-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tinydtls-dev