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

Respect updated DNS SD broadcast names in TV app #25355

Merged
merged 11 commits into from
Mar 8, 2023

Commits on Mar 3, 2023

  1. Respect updated DNS SD broadcast names

    When a device is advertising over dns-sd and the TX bits change (device
    name) a message is sent out to indicate that the old adverisment should
    be expired and the new one should be used.
    
    In the current implementation of the casting app, we stop listening to
    updates after the `discoveryDurationSeconds` timeout. This causes us to
    miss messages and Android seems to fall back to the cached value of the
    DNS advertisment.
    
    We need to change the usage pattern here so that clients stop the
    discovery manually after it is started and keep it active for the
    lifetime they need it for.
    
    I also updated the test apps to behave a bit nicer with discovered
    commissioners.
    cliffamzn committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    527f0f2 View commit details
    Browse the repository at this point in the history
  2. Making UI a bit nicer on Android TV Casting App (project-chip#116)

    This change fixes a bug in the layout of the commissioning page and also
    makes the list items look more like buttons
    cliffamzn committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    9ef3a98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdfdeb5 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Configuration menu
    Copy the full SHA
    bd5e3eb View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    13517a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    875d5d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    203dd6f View commit details
    Browse the repository at this point in the history
  4. Update examples/tv-casting-app/android/App/app/src/main/jni/com/chip/…

    …casting/TvCastingApp.java
    cliffamzn authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    5cd98c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b9462a View commit details
    Browse the repository at this point in the history
  6. Changing implementation from equals to discoveredNodeHasSameSource

    This clarifies that the objects are "effectively equal" rather than
    truly equal.
    cliffamzn committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    fe9278f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f83e33c View commit details
    Browse the repository at this point in the history