-
Notifications
You must be signed in to change notification settings - Fork 63
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
Clarify read-only/write-only behavior #854
Comments
A Property affordance has a member "writeOnly". |
In TD call on 2/14, we discussed and suggest to say explicitly something like "devices can provide both read and write operations, or read operation only, or write operation only, and both read only and write only combination is prohibited." |
Another way to look at it is based on capabilities, i.e. a Property can be For instance, it is not clear if "writeOnly" always also means not observable in a TD? |
I was just asking myself this very question – have there been any updates on this matter in the meantime? As, at least in CoAP, the (de)registration of observers is part of a GET request (and therefore a read operation) I also assumed that |
Call of 15.06:
|
Current language for property affordance is a bit ambiguous about read-only/write only behavior:
https://w3c.github.io/wot-thing-description/#propertyaffordance
The intention of the text is to indicate that the state can always be retrieved with a read operation and can be optionally updated with a write operation.
The paragraph should be changed to make this more clear, e.g.:
The text was updated successfully, but these errors were encountered: