Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoAP: Vocabulary for (non-)confirmable messages and retry patterns #389

Open
JKRhb opened this issue Dec 7, 2024 · 1 comment
Open

CoAP: Vocabulary for (non-)confirmable messages and retry patterns #389

JKRhb opened this issue Dec 7, 2024 · 1 comment
Labels
coap related to coap protocol binding

Comments

@JKRhb
Copy link
Member

JKRhb commented Dec 7, 2024

During WoT Week, @mkovatsc brought up that the CoAP Binding Template currently does not provide a way to specify that requests sent to a Thing should be non-confirmable, e.g., because it is a sleepy device (see w3c/wot-thing-description#2059) that is only available within a certain time frame. This could be covered by a new boolean term (e.g., cov:confirmable), where the absence of the term would imply that the consumer is free to choose the kind of request it wants to send.

Related to that, it might be useful to be able to specify the pattern consumers should use when trying to reach the device in question, e.g., whether they should rather retry sending a non-confirmable request with a certain interval. This could be useful to have if the consumer is not able to determine the exact point in time when the Thing will be reachable again. Not only because I am not entirely sure how to model this vocabulary term exactly, this will probably require some discussion, though.

@JKRhb JKRhb added the coap related to coap protocol binding label Dec 7, 2024
@danielpeintner
Copy link
Contributor

While I think we have a use-case for CoAP, I am pretty sure other devices/protocols (that are designed to last for a long time, like LoRaWAN) would benefit from a similar term.
Hence, it makes me think whether we could introduce a more generic term to describe this aspect...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coap related to coap protocol binding
Projects
None yet
Development

No branches or pull requests

2 participants