# otRouterInfo Struct Reference

# otRouterInfo


`#include <openthread/thread.h>`

Holds diagnostic information for a Thread Router.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1acbdeb4be87bb681c3ff4c1af5e4f6a51` | `uint8_t` Time last heard. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a2d17d60722aac8fc1525af9b60c7bad3` | `bool` Router ID allocated or not. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a93fdba0d442beaad6c0b278a9b9af82b` | `uint8_t` Parent CSL parameters are only relevant when OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE is enabled. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a34aaba5d5c557c040f5dcc7955e272b9` | `uint8_t` CSL uncertainty, in ±10 us. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a6568602818887f1a92077600f9ba3792` | `https://openthread.io/reference/struct/ot-ext-address` IEEE 802.15.4 Extended Address. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a6c010c2a924a7d8becfa67726e1e3c4d` | `bool` Link established with Router ID or not. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1afd3d8c737139f52c862025fb47a97df2` | `uint8_t` Link Quality In. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1ac6cd69468678d115fe4de1dfd1a1f022` | `uint8_t` Link Quality Out. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1adc7b649f4436e4440840b1752fc0d3f1` | `uint8_t` Next hop to router. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a8931b424893cf9ee0aaae97103dc8139` | `uint8_t` Path cost to router. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1ac13b4ad8232bc92b10a2e324287511b7` | `uint16_t` RLOC16. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a6b145691294c05fdb568c1b4fd136fe2` | `uint8_t` Router ID. |
| `https://openthread.io/reference/struct/ot-router-info#structot_router_info_1a5a7055dd817db3b5a24a65429441ce97` | `uint8_t` Thread version. |

## Public attributes

### mAge

```
uint8_t otRouterInfo::mAge
```
Time last heard.

### mAllocated

```
bool otRouterInfo::mAllocated
```
Router ID allocated or not.

### mCslClockAccuracy

```
uint8_t otRouterInfo::mCslClockAccuracy
```
Parent CSL parameters are only relevant when OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE is enabled.

CSL clock accuracy, in ± ppm

### mCslUncertainty

```
uint8_t otRouterInfo::mCslUncertainty
```
CSL uncertainty, in ±10 us.

### mExtAddress

```
otExtAddress otRouterInfo::mExtAddress
```
IEEE 802.15.4 Extended Address.

### mLinkEstablished

```
bool otRouterInfo::mLinkEstablished
```
Link established with Router ID or not.

### mLinkQualityIn

```
uint8_t otRouterInfo::mLinkQualityIn
```
Link Quality In.

### mLinkQualityOut

```
uint8_t otRouterInfo::mLinkQualityOut
```
Link Quality Out.

### mNextHop

```
uint8_t otRouterInfo::mNextHop
```
Next hop to router.

### mPathCost

```
uint8_t otRouterInfo::mPathCost
```
Path cost to router.

### mRloc16

```
uint16_t otRouterInfo::mRloc16
```
RLOC16.

### mRouterId

```
uint8_t otRouterInfo::mRouterId
```
Router ID.

### mVersion

```
uint8_t otRouterInfo::mVersion
```
Thread 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).