Skip to content

Commit

Permalink
Fix android batch command test (#35954)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored Oct 8, 2024
1 parent 9a148ab commit cec1887
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class PairOnNetworkLongImExtendableInvokeCommand(
) {
setFailure("invoke failure with incorrect status")
}
responseCount++
}

if (clusterId == CLUSTER_ID_TEST && commandId == TEST_ADD_ARGUMENT_RSP_COMMAND) {
Expand All @@ -89,8 +90,8 @@ class PairOnNetworkLongImExtendableInvokeCommand(
if (status != null) {
setFailure("invoke failure with incorrect status")
}
responseCount++
}
responseCount++
}

override fun onNoResponse(noInvokeResponseData: NoInvokeResponseData) {
Expand Down Expand Up @@ -126,7 +127,7 @@ class PairOnNetworkLongImExtendableInvokeCommand(

val element1: InvokeElement =
InvokeElement.newInstance(
/* endpointId= */ 0,
/* endpointId= */ 1,
CLUSTER_ID_IDENTIFY,
IDENTIFY_COMMAND,
tlvWriter1.getEncoded(),
Expand Down

0 comments on commit cec1887

Please sign in to comment.