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

[NEW FEATURE] Mdns support of websocket native Pipe #288

Open
nicolas-rabault opened this issue Jul 26, 2022 · 2 comments
Open

[NEW FEATURE] Mdns support of websocket native Pipe #288

nicolas-rabault opened this issue Jul 26, 2022 · 2 comments
Labels
help wanted Extra attention is needed native Related to native support

Comments

@nicolas-rabault
Copy link
Member

In Native example Pipe is the service dealing with the WebSocket and allowing other things to interact with the native luos_engine network.
For now this pipe create a WS (websocket) server and relay all input and output of the websocket to the Gate or Inspector service. This way Pyluos can send information for the Gate or Inspector trough this WS pipe.
Pyluos is able to list the compatible interfaces available on the system. For now we are able to list available serial interface, but we should be able to make it also with this WS Pipe.
To do that we should add an Mdns(also known as Bonjour) support on the native WS Pipe, allowing the WS Pipe to declare itself on the network to be "discoverable".

@nicolas-rabault nicolas-rabault added this to the 2.6.0 milestone Jul 26, 2022
@nicolas-rabault
Copy link
Member Author

This Lib could make it : https://github.com/mjansson/mdns
We still have to benchmark it.

@nicolas-rabault
Copy link
Member Author

nicolas-rabault commented Jul 29, 2022

We already had WS+MDNS support on ESP32, and that was working (see #294)
I also found back a discovery function on pyluos about it : https://github.com/Luos-io/Pyluos/blob/master/pyluos/tools/wifi_gate.py#L18-L33

@Simonbdy Simonbdy added help wanted Extra attention is needed and removed contribution labels Aug 4, 2022
@JeromeGalan JeromeGalan modified the milestones: 2.6.0, 2.7.0 Aug 30, 2022
@JeromeGalan JeromeGalan removed this from the 2.7.0 milestone Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed native Related to native support
Projects
Status: In Progress
Development

No branches or pull requests

3 participants