# Commissioner

# Commissioner

This module includes configuration variables for the Commissioner.

## Summary

| ### Macros ||
|---|---|
| `https://openthread.io/reference/config/group/config-commissioner#group__config-commissioner_1ga119f9aa45abf66ca39294903cab62964 0` | Define to 1 to enable Commissioner support. |
| `https://openthread.io/reference/config/group/config-commissioner#group__config-commissioner_1ga8c652872a5d6216433376c6dca4f4da6 30` | The timeout for the Joiner's session, in seconds. |
| `https://openthread.io/reference/config/group/config-commissioner#group__config-commissioner_1ga58ac9a70a35af07bc41405971bfab71e 2` | The maximum number of Joiner entries maintained by the Commissioner. |

## Macros

### OPENTHREAD_CONFIG_COMMISSIONER_ENABLE

```
 OPENTHREAD_CONFIG_COMMISSIONER_ENABLE 0
```
Define to 1 to enable Commissioner support.

### OPENTHREAD_CONFIG_COMMISSIONER_JOINER_SESSION_TIMEOUT

```
 OPENTHREAD_CONFIG_COMMISSIONER_JOINER_SESSION_TIMEOUT 30
```
The timeout for the Joiner's session, in seconds.

After this timeout, the Commissioner tears down the session.

### OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES

```
 OPENTHREAD_CONFIG_COMMISSIONER_MAX_JOINER_ENTRIES 2
```
The maximum number of Joiner entries maintained by the Commissioner.

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