---
title: "readAttributePacketRxCount(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterethernetnetworkdiagnostics/readattributepacketrxcount(completion:)"
---

# readAttributePacketRxCount(completion:)

## Declaration

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

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