Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Send Reset Message to unexpected non-confirmable message #18

Open
sbernard31 opened this issue Sep 12, 2014 · 2 comments
Open

Send Reset Message to unexpected non-confirmable message #18

sbernard31 opened this issue Sep 12, 2014 · 2 comments

Comments

@sbernard31
Copy link
Contributor

When using coap observe, server send notification in a confirmable or non confirmable way.
To stop the observation client should respond with a reset message.
But Reset messages are transmitted unreliably, the client must be prepared that its Reset messages aren't received by the server. (draft-ietf-core-observe)

Maybe client should always send a Reset Message to unexpected non-confirmable message.

I'm not sure but It seems that's what you try to do here.
But sendEmptyMessage seems to not send any RST message and exchange is always null.

(linked to leshan issue)

@sbernard31
Copy link
Contributor Author

in 3.5 section : In the case of a non-confirmable notification, rejecting the message with a Reset message is OPTIONAL.

Optional but probably better :).

@mkovatsc
Copy link

Yes, the idea is to send the RST there, but something goes wrong. I will look into this.

Thanks
Matthias

sbernard31 pushed a commit to sbernard31/californium that referenced this issue Dec 23, 2016
add an API to get the DTLSSession for a given peer address on DTLSConnector
sbernard31 referenced this issue in sbernard31/californium Dec 23, 2016
details see eclipse#18

Signed-off-by: Baranowski Christian Martin (INST-IOT/ESW) <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants