# otMeshDiagDiscoverConfig


`#include <openthread/mesh_diag.h>`

Represents the set of configurations used when discovering mesh topology indicating which items to discover.

## Summary

The `mExtraTlvTypes` pointer can be NULL if `mExtraTlvTypesLength` is zero.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-mesh-diag-discover-config#structot_mesh_diag_discover_config_1ac0adf8eb0c96d852abe4df40dca78fb0` | `bool` Whether or not to discover children of every router. |
| `https://openthread.io/reference/struct/ot-mesh-diag-discover-config#structot_mesh_diag_discover_config_1a7553edf36c9c6c77ee8018eac0d5bb8e` | `bool` Whether or not to discover IPv6 addresses of every router. |
| `https://openthread.io/reference/struct/ot-mesh-diag-discover-config#structot_mesh_diag_discover_config_1a7308fb3e73fbad82648b6ca17e0df2c4` | `const uint8_t *` An array of extra Net Diag TLV types to request from every router. |
| `https://openthread.io/reference/struct/ot-mesh-diag-discover-config#structot_mesh_diag_discover_config_1a7e426133f0013cc75ad7a7f37157186d` | `uint8_t` The length of the `mExtraTlvTypes` array. Can be zero. |

## Public attributes

### mDiscoverChildTable

```
bool otMeshDiagDiscoverConfig::mDiscoverChildTable
```
Whether or not to discover children of every router.

### mDiscoverIp6Addresses

```
bool otMeshDiagDiscoverConfig::mDiscoverIp6Addresses
```
Whether or not to discover IPv6 addresses of every router.

### mExtraTlvTypes

```
const uint8_t * otMeshDiagDiscoverConfig::mExtraTlvTypes
```
An array of extra Net Diag TLV types to request from every router.

### mExtraTlvTypesLength

```
uint8_t otMeshDiagDiscoverConfig::mExtraTlvTypesLength
```
The length of the `mExtraTlvTypes` array. Can be zero.

## 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).