---
title: "deviceController(_:nodeID:readAttributePaths:withReply:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrxpcserverprotocol_mtrdevice/devicecontroller(_:nodeid:readattributepaths:withreply:)"
---

# deviceController(_:nodeID:readAttributePaths:withReply:)

## Declaration

```swift
func deviceController(_ controller: UUID, nodeID: NSNumber, readAttributePaths attributePaths: [MTRAttributeRequestPath], withReply reply: @escaping @Sendable ([[String : Any]]) -> Void)
```

```swift
func deviceController(_ controller: UUID, nodeID: NSNumber, readAttributePaths attributePaths: [MTRAttributeRequestPath]) async -> [[String : Any]]
```
