---
title: "commissionNode(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustercommissionercontrol/commissionnode(with:expectedvalues:expectedvalueinterval:completion:)"
---

# commissionNode(with:expectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func commissionNode(with params: MTRCommissionerControlClusterCommissionNodeParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable (MTRCommissionerControlClusterReverseOpenCommissioningWindowParams?, (any Error)?) -> Void)
```

```swift
func commissionNode(with params: MTRCommissionerControlClusterCommissionNodeParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRCommissionerControlClusterReverseOpenCommissioningWindowParams
```
