---
title: "readAttributePacketUnicastRxCount(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterwifinetworkdiagnostics/readattributepacketunicastrxcount(completion:)"
---

# readAttributePacketUnicastRxCount(completion:)

## Declaration

```swift
func readAttributePacketUnicastRxCount(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributePacketUnicastRxCount() async throws -> NSNumber
```
