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

Zeroconf #9

Open
dwlee opened this issue Nov 14, 2013 · 2 comments
Open

Zeroconf #9

dwlee opened this issue Nov 14, 2013 · 2 comments

Comments

@dwlee
Copy link
Collaborator

dwlee commented Nov 14, 2013

Add the zeroconf function for automatically find the concert ip.

@stonier
Copy link
Member

stonier commented Dec 10, 2013

There is a python example code: http://avahi.org/wiki/PythonBrowseExample

I also have some old python code..........somewhere, if you need, ask.

You need to look for zeroconf types: '_ros-multimaster-hub._tcp.local'

You can see our concerts on linux from the command line:

avahi-browse -t -r _ros-multimaster-hub._tcp

@stonier
Copy link
Member

stonier commented Dec 18, 2013

Make sure you do a platform check in case we try and run on windows or apple sometime.

Best way to do platform checks in python, is not to check for platform.

Instead, do import checks, e.g.:

try:
    import dbus, gobject, avahi
    # some code here
except ImportError:
   pass

@stonier stonier changed the title Zeroconf for rocon remocon [remocon] zeroconf auto-discovery May 12, 2014
@stonier stonier changed the title [remocon] zeroconf auto-discovery [remocon] zeroconf May 12, 2014
@stonier stonier changed the title [remocon] zeroconf Zeroconf Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants