8000 iiod: Make startup (with Avahi) more robust. by rgetz · Pull Request #551 · analogdevicesinc/libiio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iiod: Make startup (with Avahi) more robust. #551

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

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

rgetz
Copy link
Contributor
@rgetz rgetz commented Jun 8, 2020

In certain embedded cases, iiod may start before networking or dbus is
fully alive on a system (like on Pluto and M2k).

This change ensures that when we are trying to connect to avahi, and
register on the network, we give things a few moments to stablize (re-trying)
before we fail.

tested on PlutoSDR, and Zedboard + FMCOMMS3

Signed-off-by: Robin Getz robin.getz@analog.com

8000
@rgetz rgetz requested a review from dNechita June 8, 2020 22:40
@rgetz
Copy link
Contributor Author
rgetz commented Jun 9, 2020

This did build on travis - I'm not sure why it's not showing up....
https://travis-ci.org/github/analogdevicesinc/libiio/builds/696242826

In certain embedded cases, iiod may start before networking or dbus is
fully alive on a system (like on Pluto and M2k).

This change ensures that when we are trying to connect to avahi, and
register on the network, we give things a few moments to stablize (re-trying)
before we fail.

tested on PlutoSDR, and Zedboard + FMCOMMS3

Signed-off-by: Robin Getz <robin.getz@analog.com>
@rgetz rgetz force-pushed the rgetz-make-iiod-start-more-robust branch from 22978a7 to 6bbf792 Compare June 9, 2020 11:10
@rgetz rgetz merged commit 21ed20f into master Jun 9, 2020
dNechita added a commit that referenced this pull request Jun 17, 2020
Changelog:
5502a2d iio.h: add some doc about iio_context_clone not working on usb
c240dd7 Upgrade python setuptools for CI
8678898 travis-ci: We don't use "artifacts" so turn it off
eaaf588 travis-ci: remove old branches, so things don't fill up
f9abc28 travis-ci: avoid errors when uploading things to akami
d32fc58 travis-ci: provide an index of artifacts to people can find things.
f03e9ad travis-ci: Only rm old files from one build
c0aab37 travis: save some time by not setting up the host
a024e87 travis-ci: Make sure python is set properly in the lib
e2f46f0 Remove token requirement for sphinx doc build on CI
6bbf792 iiod: Make startup (with Avahi) more robust.
3425601 Remove make install requirement in CI
192fa42 Enable pydoc to be built without library installed
5c86f76 Add support for DESTDIR for python builds
b1d19e3 Fix tag requirement on pypi travis-ci

Robin Getz (14):
      Merge pull request #546 from analogdevicesinc/travis-ci-fix
      iiod: Make startup (with Avahi) more robust.
      Merge pull request #551 from analogdevicesinc/rgetz-make-iiod-start-more-robust
      travis-ci: Make sure python is set properly in the lib
      travis: save some time by not setting up the host
      travis-ci: Only rm old files from one build
      travis-ci: provide an index of artifacts to people can find things.
      travis-ci: avoid errors when uploading things to akami
      travis-ci: remove old branches, so things don't fill up
      travis-ci: We don't use "artifacts" so turn it off
      Merge pull request #553 from analogdevicesinc/CI-python-doc-fix
      Merge pull request #550 from analogdevicesinc/python-setup-fixes
      iio.h: add some doc about iio_context_clone not working on usb
      Merge pull request #554 from analogdevicesinc/rgetz-add-doc-to-clone

Travis F. Collins (6):
      Fix tag requirement on pypi travis-ci
      Add support for DESTDIR for python builds
      Enable pydoc to be built without library installed
      Remove make install requirement in CI
      Remove token requirement for sphinx doc build on CI
      Upgrade python setuptools for CI

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
@commodo commodo deleted the rgetz-make-iiod-start-more-robust branch December 11, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0