This module includes functions for the Thread Border Agent role.
More...
This module includes functions for the Thread Border Agent role.
This enumeration defines the Border Agent state.
This enumeration defines the Border Agent state.
Enumerator |
---|
OT_BORDER_AGENT_STATE_STOPPED |
Border agent role is disabled.
|
OT_BORDER_AGENT_STATE_STARTED |
Border agent is started.
|
OT_BORDER_AGENT_STATE_ACTIVE |
Border agent is connected with external commissioner.
|
This function gets the state of Thread Border Agent role.
- Parameters
-
[in] | aInstance | A pointer to an OpenThread instance. |
- Returns
- State of the Border Agent.