# otMeshDiagChildEntry Struct Reference

# otMeshDiagChildEntry


`#include <openthread/mesh_diag.h>`

Represents information about a child entry from `https://openthread.io/reference/group/api-mesh-diag#group__api-mesh-diag_1ga18ee2865034a08f2c48ecd8a8060347d`.

## Summary

`mSupportsErrRate` indicates whether or not the error tracking feature is supported and `mFrameErrorRate` and `mMessageErrorRate` values are valid. The frame error rate tracks frame tx errors (towards the child) at MAC layer, while `mMessageErrorRate` tracks the IPv6 message error rate (above MAC layer and after MAC retries) when an IPv6 message is dropped. For example, if the message is large and requires 6LoWPAN fragmentation, message tx is considered as failed if one of its fragment frame tx fails (for example, never acked).

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a9813bf4a3e20c89f3f06c6870deb172c` | `uint32_t` Seconds since last heard from the child. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a6ddda38f18ba22eb76ae57f9dd29efd2` | `int8_t` Average RSSI. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1aa7f22e50c146c7060bab3d9222c259bd` | `uint32_t` Seconds since child attach. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a3d7339452e6fe0bf3703ceeef8bf59bd` | `uint8_t` CSL channel. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a87c1dbfe989b405ff6a1f3d1da375530` | `uint16_t` CSL Period in unit of 10-symbols-time. Zero indicates CSL is disabled. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1aa1434db12aad18860952f4de9e4753e0` | `bool` Is CSL capable and CSL synchronized. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a6647c2af601ef64086bc9b0af6729712` | `uint32_t` CSL Timeout in seconds. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a28d9fbc879436075717ffa81d02dc590` | `bool` Is device FTD (vs MTD). |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a9ecf83156a17f085af8886642f3c1091` | `https://openthread.io/reference/struct/ot-ext-address` Extended Address. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a704e3a43301346e5d423655dc02e6128` | `uint16_t` Frame error rate (0x0000-\>0%, 0xffff-\>100%). |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1ab10104f4bcf69684a36db4ca1dc31d11` | `bool` Whether device gets full Network Data (vs stable sub-set). |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a3c763582e4f3f4957e69f7a9caf8ee3c` | `int8_t` RSSI of last received frame. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a02f329aa2cea461cdb9eb6982142247d` | `uint8_t` Link Margin in dB. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a432f3b9165946be55468211a73a874f1` | `uint16_t` (IPv6) msg error rate (0x0000-\>0%, 0xffff-\>100%). |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1acc2daebde9add3634ad0f740671c4344` | `uint16_t` Number of queued messages for indirect tx to child. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a91cf3c1af794514edbcee2647976648e` | `uint16_t` RLOC16. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1aa48a276ce6148c2e7aa18aae6f59f40e` | `bool` Is rx-on when idle (vs sleepy). |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1aa35f8a79a52bcc350d9bc40705d4c419` | `uint16_t` Supervision interval in seconds. Zero to indicate not used. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a081099a34929097cf3056997b6a7cfbf` | `bool` `mFrameErrorRate` and `mMessageErrorRate` values are valid. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a265c6119e2f387aa4b2551e6fa08e44a` | `uint32_t` Timeout in seconds. |
| `https://openthread.io/reference/struct/ot-mesh-diag-child-entry#structot_mesh_diag_child_entry_1a5a52b9e2a3263d7984dd41d285c3a338` | `uint16_t` Version. |

## Public attributes

### mAge

```
uint32_t otMeshDiagChildEntry::mAge
```
Seconds since last heard from the child.

### mAverageRssi

```
int8_t otMeshDiagChildEntry::mAverageRssi
```
Average RSSI.

### mConnectionTime

```
uint32_t otMeshDiagChildEntry::mConnectionTime
```
Seconds since child attach.

### mCslChannel

```
uint8_t otMeshDiagChildEntry::mCslChannel
```
CSL channel.

### mCslPeriod

```
uint16_t otMeshDiagChildEntry::mCslPeriod
```
CSL Period in unit of 10-symbols-time. Zero indicates CSL is disabled.

### mCslSynchronized

```
bool otMeshDiagChildEntry::mCslSynchronized
```
Is CSL capable and CSL synchronized.

### mCslTimeout

```
uint32_t otMeshDiagChildEntry::mCslTimeout
```
CSL Timeout in seconds.

### mDeviceTypeFtd

```
bool otMeshDiagChildEntry::mDeviceTypeFtd
```
Is device FTD (vs MTD).

### mExtAddress

```
otExtAddress otMeshDiagChildEntry::mExtAddress
```
Extended Address.

### mFrameErrorRate

```
uint16_t otMeshDiagChildEntry::mFrameErrorRate
```
Frame error rate (0x0000-\>0%, 0xffff-\>100%).

### mFullNetData

```
bool otMeshDiagChildEntry::mFullNetData
```
Whether device gets full Network Data (vs stable sub-set).

### mLastRssi

```
int8_t otMeshDiagChildEntry::mLastRssi
```
RSSI of last received frame.

### mLinkMargin

```
uint8_t otMeshDiagChildEntry::mLinkMargin
```
Link Margin in dB.

### mMessageErrorRate

```
uint16_t otMeshDiagChildEntry::mMessageErrorRate
```
(IPv6) msg error rate (0x0000-\>0%, 0xffff-\>100%).

### mQueuedMessageCount

```
uint16_t otMeshDiagChildEntry::mQueuedMessageCount
```
Number of queued messages for indirect tx to child.

### mRloc16

```
uint16_t otMeshDiagChildEntry::mRloc16
```
RLOC16.

### mRxOnWhenIdle

```
bool otMeshDiagChildEntry::mRxOnWhenIdle
```
Is rx-on when idle (vs sleepy).

### mSupervisionInterval

```
uint16_t otMeshDiagChildEntry::mSupervisionInterval
```
Supervision interval in seconds. Zero to indicate not used.

### mSupportsErrRate

```
bool otMeshDiagChildEntry::mSupportsErrRate
```
`mFrameErrorRate` and `mMessageErrorRate` values are valid.

### mTimeout

```
uint32_t otMeshDiagChildEntry::mTimeout
```
Timeout in seconds.

### mVersion

```
uint16_t otMeshDiagChildEntry::mVersion
```
Version.

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