# otOperationalDataset


`#include <openthread/dataset.h>`

Represents an Active or Pending Operational Dataset.

## Summary

Components in Dataset are optional. `mComponents` structure specifies which components are present in the Dataset.

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1ab5b078c9705e0e8f38a46e62a61c51ab` | `https://openthread.io/reference/struct/ot-timestamp` Active Timestamp. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1aab6258c1a117bc4c4bd7c0fac0bd577a` | `uint16_t` Channel. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1ade5afcd15ab99c99857554a272de9033` | `https://openthread.io/reference/group/api-operational-dataset#group__api-operational-dataset_1ga316ddec5e36387eef45b2b1ae0180da1` Channel Mask. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a3b1eae92b1a3573a1a5f8c3eda3f8429` | `https://openthread.io/reference/struct/ot-operational-dataset-components` Specifies which components are set in the Dataset. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a36d2dd5b146d8af6971c41c13d8fe3aa` | `uint32_t` Delay Timer. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1afe29b5a7ad4991fedda85dc7f0d0a9ba` | `https://openthread.io/reference/struct/ot-extended-pan-id` Extended PAN ID. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a106decaee164d7c68cb1025d137b5efb` | `https://openthread.io/reference/group/api-operational-dataset#group__api-operational-dataset_1ga793404eed6881d520a19a09da53b5cfc` Mesh Local Prefix. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1af45574fd12885bc9a9e7c340757182f7` | `https://openthread.io/reference/struct/ot-network-key` Network Key. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a16a2d0c0dd134ea0b568ae2e4442cca7` | `https://openthread.io/reference/struct/ot-network-name` Network Name. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1ae9041fb788284181dd84b642da23e9d9` | `https://openthread.io/reference/group/radio-types#group__radio-types_1ga2dd7c7e7e4b5a8a15e9af7fb78de1eda` PAN ID. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1ab472d60d0a974ad3b5eed8e9b1fa4708` | `https://openthread.io/reference/struct/ot-timestamp` Pending Timestamp. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a2bd443f5059dce4b82f9216674bd57bf` | `https://openthread.io/reference/struct/ot-pskc` PSKc. |
| `https://openthread.io/reference/struct/ot-operational-dataset#structot_operational_dataset_1a65ccebe7430e029a474800d5197de8f6` | `https://openthread.io/reference/struct/ot-security-policy` Security Policy. |

## Public attributes

### mActiveTimestamp

```
otTimestamp otOperationalDataset::mActiveTimestamp
```
Active Timestamp.

### mChannel

```
uint16_t otOperationalDataset::mChannel
```
Channel.

### mChannelMask

```
otChannelMask otOperationalDataset::mChannelMask
```
Channel Mask.

### mComponents

```
otOperationalDatasetComponents otOperationalDataset::mComponents
```
Specifies which components are set in the Dataset.

### mDelay

```
uint32_t otOperationalDataset::mDelay
```
Delay Timer.

### mExtendedPanId

```
otExtendedPanId otOperationalDataset::mExtendedPanId
```
Extended PAN ID.

### mMeshLocalPrefix

```
otMeshLocalPrefix otOperationalDataset::mMeshLocalPrefix
```
Mesh Local Prefix.

### mNetworkKey

```
otNetworkKey otOperationalDataset::mNetworkKey
```
Network Key.

### mNetworkName

```
otNetworkName otOperationalDataset::mNetworkName
```
Network Name.

### mPanId

```
otPanId otOperationalDataset::mPanId
```
PAN ID.

### mPendingTimestamp

```
otTimestamp otOperationalDataset::mPendingTimestamp
```
Pending Timestamp.

### mPskc

```
otPskc otOperationalDataset::mPskc
```
PSKc.

### mSecurityPolicy

```
otSecurityPolicy otOperationalDataset::mSecurityPolicy
```
Security Policy.

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