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

[Android] Support Opcreds button to check fabric features #10102

Merged

Conversation

chulspro
Copy link
Contributor

Problem

  • Need to verify Node Operational Credential features on Android chip-tool
  • TE5 supports Read supported/commissioned fabric count

Change overview

  • Create new button to support opcreds fragment and add supported/commissioned fabric count button

Testing

  • QR Pairing with Wi-Fi
  • Update Address to establish CASE session
  • Read supported/commissioned fabric count and Check attribute value result

@todo
Copy link

todo bot commented Sep 30, 2021

use the fabric ID that was used to commission the device

// TODO: use the fabric ID that was used to commission the device
val testFabricId = "5544332211"
opCredClusterFabricIdEd.setText(testFabricId)
opCredClusterDeviceIdEd.setText(DeviceIdUtil.getLastDeviceId(requireContext()).toString())
}
inner class ChipControllerCallback : GenericChipDeviceListener() {
override fun onConnectDeviceComplete() {}
override fun onCommissioningComplete(nodeId: Long, errorCode: Int) {
Log.d(TAG, "onCommissioningComplete for nodeId $nodeId: $errorCode")


This comment was generated by todo based on a TODO comment in 880c7d9 in #10102. cc @chulspro.

chulspro and others added 2 commits October 1, 2021 09:29
@msandstedt msandstedt merged commit 3f84d7c into project-chip:master Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants