-
Notifications
You must be signed in to change notification settings - Fork 28
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
Simplify discovery methods #311
Comments
I think the goal should be to align with what the Discovery task forces comes up with. At the moment it seems to be
@zolkis additionally you are proposing to keep |
No, I have argued that we should remove |
Sorry, I missed that part. I am still unsure whether |
I don't think so. As I said in the first comment, a script should know if it wants to list a directory, or wants to access a specific thing. If not the latter, then the former. Hence |
Scripting Call 2021-04-12
|
Some other concerns recorded during the call:
We should think about integrating the missing use cases when they are mature and established. |
Right now, supported DiscoveryMethod strings are
any
,directory
,local
,multicast
. In earlier drafts we also haddirect
, and #222 considers that use case as well.I'd like to propose removing
local
andmulticast
, and re-adddirect
, withany
remaining redundant (removed as well).So in the end we'd have support for
direct
anddirectory
methods.We had a call with @relu91 about this and we agreed about the following.
Reasons to remove
local
:Reasons to remove
multicast
:multicast
from an application. Right now the spec is too vague about this: "discovering Things in the device's network by using a supported multicast protocol." It sounds like "discover anything, but with a multicast method". Which leads to the next argument:Reasons to re-add
direct
:direct
mode (e.g. the TD of the directory itself) vs all the TDs contained in the directory (ifdirectory
was provided as method).Counter-arguments to re-add
direct
:Reasons to remove
any
:Please chime in with opinions. I can provide a PR after the discussion settled.
The text was updated successfully, but these errors were encountered: