1. 19 May, 2017 1 commit
  2. 11 Apr, 2017 1 commit
  3. 10 Apr, 2017 1 commit
  4. 23 Mar, 2017 1 commit
  5. 14 Mar, 2017 1 commit
  6. 01 Mar, 2017 1 commit
  7. 27 Feb, 2017 1 commit
  8. 21 Feb, 2017 1 commit
  9. 20 Feb, 2017 1 commit
    • Andreas Fenkart's avatar
      do not query state periodically · bfbb5b75
      Andreas Fenkart authored and andreas.fenkart's avatar andreas.fenkart committed
      ds485_client_query_link has a builtin timeout of 2s. That means,
      if the server does not respond within 2s, ds485p will assume the
      server is disconnected and disable all dsm in turn. Together with the
      reduction of the interval from 30s to 1s (80fc41cf
      
      ), this happens
      much more often now. see #16230, especially on dss11e, it happens a lot
      more often now.
      We could tune the timeouts in ds485-client, but likely they have been
      set that low for some reason, (git blame revealed an unrelated commit).
      In fact, we don't need the state. We are only interested in dsms. The
      ds485d already disables all dsms if the it loses the ds485 token, which
      is the same logic we re-implement in ds485p. On top, the ds485-client
      library will emit 'link changed' callback if any timeout expires.
      Since we query all dsms regularly(180s) we still will get the link
      changed callback. The ds485d has 10s to answer query devices request,
      which is better than the 2s timeout of query state.
      Hence, simply dropping that check seems that least invasive change.
      
      Signed-off-by: andreas.fenkart's avatarAndreas Fenkart <andreas.fenkart@digitalstrom.com>
      bfbb5b75
  10. 18 Feb, 2017 1 commit
  11. 16 Feb, 2017 2 commits
  12. 17 Jan, 2017 1 commit
  13. 12 Jan, 2017 1 commit
  14. 05 Jan, 2017 4 commits
  15. 07 Jun, 2016 1 commit
  16. 27 May, 2016 2 commits
  17. 15 Mar, 2016 1 commit
  18. 14 Mar, 2016 2 commits
  19. 10 Feb, 2016 1 commit
  20. 03 Feb, 2016 2 commits
  21. 05 Jan, 2016 1 commit
  22. 15 Dec, 2015 2 commits
  23. 11 Dec, 2015 3 commits
  24. 10 Dec, 2015 4 commits
  25. 09 Dec, 2015 1 commit
  26. 08 Dec, 2015 2 commits