Function otBorderAgentEphemeralKeySetEnabled

Source
pub unsafe extern "C" fn otBorderAgentEphemeralKeySetEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool,
)
Expand description

Enables/disables the Border Agent’s Ephemeral Key Manager.

Requires OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE.

If this function is called to disable, while an an ephemeral key is in use, the ephemeral key use will be stopped (as if otBorderAgentEphemeralKeyStop() is called).

@param[in] aInstance The OpenThread instance. @param[in] aEnabled Whether to enable or disable the Ephemeral Key Manager.