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

# readAttributePacketRxCount(completionHandler:)

## Declaration

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

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