Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cf-dev] Even less strict request response matching

Hi all,

 

in Californium there exists the option "USE_STRICT_RESPONSE_MATCHING". Setting this to false, Californium does not consider the DTLS epoch to match responses/notifies to requests. This is not strictly conform to the specification. But I understand why this is useful. What do you think about to go even one step further: Some kind of “LAX_RESPONSE_MAPPING” that only checks that the DTLS identity is the same as the DTSL identity the request was sent to?

 

Does anyone know why these strict restrictions were made in the CoAP specification? In LWM2M for example it is allowed to receive registration updates and de-registrations after a new handshake, but because of this CoAP restriction it is not possible to receive notifications.

 

This “LAX_RESPONSE_MAPPING” would make it possible to receive notifies when there was a new DTLS handshake.

 

Thanks

Daniel


Back to the top