Thanks to visit codestin.com
Credit goes to github.com

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

Send Reset Message to unexpected non-confirmable message #18

@sbernard31

Description

@sbernard31

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions