-
Notifications
You must be signed in to change notification settings - Fork 25
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
Describe features of and add vocabulary for RFC 9175 #258
Comments
Do you already have an idea of how to cover the features introduced in RFC 9175? Would it be sufficient to introduce boolean vocabulary terms like |
I haven't looked into any new vocabulary that might be needed, but at least there should be new subsections in Section 2 that describe the features. |
Regarding the Echo option, the flow looks like this:
From the perspective of the client I don't think there's much to say in a TD. If I'm not mistaken, there is nothing a client can do to avoid the first round-trip (e.g. by including something in its request). Also, I don't think the client needs a "heads-up" about the server possibly sending back 4.01; either the client implements the feature and understands this flow or it cannot perform the interaction. So I think that no new vocabulary is needed for this. However, it might be helpful for implementers to see that they should use a CoAP client implementation that supports the feature / implement the API on the CoAP server in such a way that the feature is exercised. I'm not sure if this dual use of a TD (instructions selectively targeting either automated clients or implementers) isn't more confusing than helpful, though. ("I see this bit of information in the TD. Is this relevant to me right now or can I ignore it?") Regarding requests tags, I agree that extending the |
Hmm, maybe this information could be used primarily in Thing Models, which could then be used by implementers to create applications compliant with the API specification (something similar could apply to response codes, as mentioned in #254). When "instantiating" the TM, this information could then simply be omitted in the resulting TD.
I guess the only benefit of including a hint for this feature in the TD would be that a Consumer could abstain from sending even the first request if it doesn't support the Echo option at all or choose a different form. |
Hmm, nevermind, just got reminded by the WoT dev meeting that all parts of a TM need to be taken over into the resulting TD. |
→ Constrained Application Protocol (CoAP): Echo, Request-Tag, and Token Processing
The text was updated successfully, but these errors were encountered: