Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] DTLS handshake errors

Hi all,

 

I’ve upgraded recently to DTLS communication on my lwm2m client.

 

Sometimes I need to re-handshake with DTLS for re-registration and I rarely get errors, but I do get them during the handshake procedure.

Examples thereof:

è Error DTLS handling message -552.

o   The message sequence number is too small, expected XXXX, got 0:

è WARN, Wrong epoch, expected X, got 0

Sometimes I just see the initial ClientHello packet sent and no reply whatsoever.

 

The issue in this case is that the client blocks and never gets out unless rebooted, which I’d like to avoid.

What is the behaviour on the failed DTLS handshake?

Is it possible to render this non-blocking?

 

Thanks and Kind Regards,

Riccardo.


Back to the top