Lines Matching +full:thread +full:- +full:border +full:- +full:router
32 * This file includes functions for the Thread Border Agent role.
45 * @addtogroup api-border-agent
48 * This module includes functions for the Thread Border Agent role.
54 * The length of Border Agent/Router ID in bytes.
79 * Represents a Border Agent Identifier.
83 uint8_t mId[OT_BORDER_AGENT_ID_LENGTH]; ///< Border Agent ID bytes.
87 * Defines the Border Agent state.
91 OT_BORDER_AGENT_STATE_STOPPED = 0, ///< Border agent role is disabled.
92 OT_BORDER_AGENT_STATE_STARTED = 1, ///< Border agent is started.
93 OT_BORDER_AGENT_STATE_ACTIVE = 2, ///< Border agent is connected with external commissioner.
103 …uint32_t mEpskcInvalidBaStateErrors; ///< The number of invalid border agent state errors at e…
119 * Gets the counters of the Thread Border Agent.
123 * @returns A pointer to the Border Agent counters.
128 * Gets the #otBorderAgentState of the Thread Border Agent role.
132 * @returns The current #otBorderAgentState of the Border Agent.
137 * Gets the UDP port of the Thread Border Agent service.
141 * @returns UDP port of the Border Agent.
146 * Gets the randomly generated Border Agent ID.
152 * Border Router/Agent device.
157 * @retval OT_ERROR_NONE If successfully retrieved the Border Agent ID.
158 * @retval ... If failed to retrieve the Border Agent ID.
165 * Sets the Border Agent ID.
169 * The Border Agent ID will be saved in persistent storage and survive reboots. It's required to
174 * @param[out] aId A pointer to the Border Agent ID.
176 * @retval OT_ERROR_NONE If successfully set the Border Agent ID.
177 * @retval ... If failed to set the Border Agent ID.
188 …* The ephemeral key can be set when the Border Agent is already running and is not currently conne…
200 …* connection. After the commissioner disconnects, the ephemeral key is cleared, and the Border Age…
202 * Border Agent will cease using the ephemeral key and revert to PSKc.
214 …* @retval OT_ERROR_INVALID_STATE Border Agent is not running or it is connected to an external co…
229 …* Can be used to cancel a previously set ephemeral key before it times out. If the Border Agent is…
254 * Callback function pointer to signal changes related to the Border Agent's ephemeral key.
258 * - The Border Agent starts using an ephemeral key.
259 * - Any parameter related to the ephemeral key, such as the port number, changes.
260 …* - A commissioner candidate successfully establishes a secure session with the Border Agent using…
262 * can be used to stop advertising the mDNS service "_meshcop-e._udp").
263 * - The Border Agent stops using the ephemeral key due to:
264 * - A direct call to `otBorderAgentClearEphemeralKey()`.
265 * - The ephemeral key timing out.
266 * - An external commissioner successfully using the key to connect and then disconnecting.
267 * - Reaching the maximum number of allowed failed connection attempts.
276 …* Sets the callback function used by the Border Agent to notify any changes related to use of ephe…
291 * Disconnects the Border Agent from any active secure sessions.
293 * If Border Agent is connected to a commissioner candidate with ephemeral key, calling this API
296 * The Border Agent state may not change immediately upon calling this method. The state will be