# otNetworkDiagData Struct Reference

# otNetworkDiagData


`#include <openthread/netdiag.h>`

Represents a Network Diagnostic TLV Data.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-network-diag-data#structot_network_diag_data_1abf97f6ff9ad2127ea1198303fba67427[OT_NETWORK_BASE_TLV_MAX_LENGTH]` | `uint8_t` Array containing the data bytes. |
| `https://openthread.io/reference/struct/ot-network-diag-data#structot_network_diag_data_1a227a5c8720afddfe6bd65207a5e93944` | `uint8_t` Number of bytes in the data. |

## Public attributes

### m8

```
uint8_t otNetworkDiagData::m8[OT_NETWORK_BASE_TLV_MAX_LENGTH]
```
Array containing the data bytes.

### mCount

```
uint8_t otNetworkDiagData::mCount
```
Number of bytes in the data.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).