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

Adds a new developer utility to discover commissionable Matter devices. #62

Merged
merged 5 commits into from
Jan 11, 2023

Conversation

pierredelisle
Copy link
Contributor

  • new screen/commissionable package where all that work is implemented.
  • Commissionable{Fragment|VewModel} to support the new commissionable screen.
  • Set of MatterBeacon* classes provide the infrastructure to support a variety of matter beacons
  • Packages ble, mdns, and wifi provide the transport specific scanning code.
  • AndroidManifest.xml: New set of permissions for BLE and WiFi scanning.
  • ChipClient.kt, GmsCoreServiceResolver.kt: Replaced Android's NsdManagerServiceResolver with one that leverages GMSCore mDNS discovery API.
  • Espresso test to verify the behavior of the CommissionableFragment.

- new screen/commissionable package where all that work is implemented.
- Commissionable{Fragment|VewModel} to support the new commissionable screen.
- Set of MatterBeacon* classes provide the infrastructure to support a variety of matter beacons
- Packages ble, mdns, and wifi provide the transport specific scanning code.
- AndroidManifest.xml: New set of permissions for BLE and WiFi scanning.
- ChipClient.kt, GmsCoreServiceResolver.kt: Replaced Android's NsdManagerServiceResolver with one that leverages GMSCore mDNS discovery API.
- Espresso test to verify the behavior of the CommissionableFragment.
- Revert back to NsdManagerServiceResolver (GmsCoreServiceResolver fails with serviceType not supported)
- Fix typo in CommissionableViewModel.kt.

And
- Properly handle commissioning exception by calling GMSCore sendCommissioningError()
- Revert back to NsdManagerServiceResolver (GmsCoreServiceResolver fails with serviceType not supported)
- Fix typo in CommissionableViewModel.kt.

And
- Properly handle commissioning exception by calling GMSCore sendCommissioningError()
- So that it works properly whether or not the "Codelab Dialog" is shown when the app is launched.
- Fixed typos (copy/paste) in the producers.
Copy link
Member

@aBozowski aBozowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pierredelisle pierredelisle merged commit cf23c69 into main Jan 11, 2023
@pierredelisle pierredelisle deleted the pierred/discovery branch January 11, 2023 12:46
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