pub unsafe extern "C" fn otBorderAgentClearEphemeralKey(
aInstance: *mut otInstance,
)
Expand description
Cancels the ephemeral key that is in use.
Requires OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE
.
Can be used to cancel a previously set ephemeral key before it times out. If the Border Agent is not running or there is no ephemeral key in use, calling this function has no effect.
If a commissioner is connected using the ephemeral key and is currently active, calling this function does not
change its state. In this case the otBorderAgentIsEphemeralKeyActive()
will continue to return TRUE
until the
commissioner disconnects.
@param[in] aInstance The OpenThread instance.