# otBorderAgentStateBitmap Struct Reference

# otBorderAgentStateBitmap


`#include <openthread/border_agent_txt_data.h>`

Represents Border Agent State Bitmap information.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1aeb9470f2f60262861725e9c2057627d4` | `bool` Border Admitter function is supported. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1afdb84467ef43ca61c4479f5452aee49e` | `https://openthread.io/reference/group/api-border-agent-txt-data#group__api-border-agent-txt-data_1ga09ccc94a0f092d8ec8892d96f85f2bf7` Availability. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1acf3910f8f847b5beeb03c12f763019a1` | `bool` Backbone Router function is active. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a78692d9ce7482d723e1fcd3fe5e260b8` | `bool` Device is the Primary Backbone Router. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a3c3bc26f57c232bc90c44ca3a4523e83` | `https://openthread.io/reference/group/api-border-agent-txt-data#group__api-border-agent-txt-data_1gaea80dde9b7babbd2fb9f8fc687d5f22c` Connection Mode. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a47fced002b7d235073e1d3c6c558acdd` | `bool` ePSKc Mode is supported. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a68f630bf507fb5261b9385ba70b9809a` | `https://openthread.io/reference/group/api-border-agent-txt-data#group__api-border-agent-txt-data_1gaf3f0840b23d7bdb0bfa6947c4c9c9201` Multi-AIL detection state. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a182de031db551ea8dd2a7a1d99913866` | `https://openthread.io/reference/group/api-border-agent-txt-data#group__api-border-agent-txt-data_1ga54e7b2c3c18c8d64ebb8b395ccc49a7e` Thread Interface Status. |
| `https://openthread.io/reference/struct/ot-border-agent-state-bitmap#structot_border_agent_state_bitmap_1a9db7f7ec1f9a166deb35b4af6e8f843a` | `https://openthread.io/reference/group/api-border-agent-txt-data#group__api-border-agent-txt-data_1gafb20d1cdbc9be1f8ab2874465209d38a` Thread Role. |

## Public attributes

### mAdmitterSupported

```
bool otBorderAgentStateBitmap::mAdmitterSupported
```
Border Admitter function is supported.

### mAvailability

```
otBorderAgentAvailability otBorderAgentStateBitmap::mAvailability
```
Availability.

### mBbrIsActive

```
bool otBorderAgentStateBitmap::mBbrIsActive
```
Backbone Router function is active.

### mBbrIsPrimary

```
bool otBorderAgentStateBitmap::mBbrIsPrimary
```
Device is the Primary Backbone Router.

### mConnMode

```
otBorderAgentConnMode otBorderAgentStateBitmap::mConnMode
```
Connection Mode.

### mEpskcSupported

```
bool otBorderAgentStateBitmap::mEpskcSupported
```
ePSKc Mode is supported.

### mMultiAilState

```
otBorderAgentMultiAilState otBorderAgentStateBitmap::mMultiAilState
```
Multi-AIL detection state.

### mThreadIfState

```
otBorderAgentThreadIfState otBorderAgentStateBitmap::mThreadIfState
```
Thread Interface Status.

### mThreadRole

```
otBorderAgentThreadRole otBorderAgentStateBitmap::mThreadRole
```
Thread Role.

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