# otCommissioningDataset Struct Reference

# otCommissioningDataset


`#include <openthread/commissioner.h>`

Represents a Commissioning Dataset.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a1617db2ad0b60b84b04c46e85b2ef9f2` | `bool` TRUE if the Dataset contains any extra unknown sub-TLV, FALSE otherwise. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a3e68ee43efa71cf6b4363d557de15f12` | `bool` TRUE if Joiner UDP Port is set, FALSE otherwise. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a46a6ec2fcaf0c01ee27eaf70ebfd8519` | `bool` TRUE if Border Router RLOC16 is set, FALSE otherwise. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a1396595a5c45f89e43c7fc13f17b0b3b` | `bool` TRUE if Commissioner Session Id is set, FALSE otherwise. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1aba27dd4f92ce21e929e9ea8ded561330` | `bool` TRUE if Steering Data is set, FALSE otherwise. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1afb2bce6a2616352f2a0886feee60414c` | `uint16_t` Joiner UDP Port. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a87155a6574251da25aa8505b61bd3a01` | `uint16_t` Border Router RLOC16. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1aa70c5767280a423e6923c6489ea87b78` | `uint16_t` Commissioner Session Id. |
| `https://openthread.io/reference/struct/ot-commissioning-dataset#structot_commissioning_dataset_1a234af68bc845f991abcded58f0274cc1` | `https://openthread.io/reference/struct/ot-steering-data` Steering Data. |

## Public attributes

### mHasExtraTlv

```
bool otCommissioningDataset::mHasExtraTlv
```
TRUE if the Dataset contains any extra unknown sub-TLV, FALSE otherwise.

### mIsJoinerUdpPortSet

```
bool otCommissioningDataset::mIsJoinerUdpPortSet
```
TRUE if Joiner UDP Port is set, FALSE otherwise.

### mIsLocatorSet

```
bool otCommissioningDataset::mIsLocatorSet
```
TRUE if Border Router RLOC16 is set, FALSE otherwise.

### mIsSessionIdSet

```
bool otCommissioningDataset::mIsSessionIdSet
```
TRUE if Commissioner Session Id is set, FALSE otherwise.

### mIsSteeringDataSet

```
bool otCommissioningDataset::mIsSteeringDataSet
```
TRUE if Steering Data is set, FALSE otherwise.

### mJoinerUdpPort

```
uint16_t otCommissioningDataset::mJoinerUdpPort
```
Joiner UDP Port.

### mLocator

```
uint16_t otCommissioningDataset::mLocator
```
Border Router RLOC16.

### mSessionId

```
uint16_t otCommissioningDataset::mSessionId
```
Commissioner Session Id.

### mSteeringData

```
otSteeringData otCommissioningDataset::mSteeringData
```
Steering 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).