pub unsafe extern "C" fn otBorderAgentSetEphemeralKeyCallback(
aInstance: *mut otInstance,
aCallback: otBorderAgentEphemeralKeyCallback,
aContext: *mut c_void,
)
Expand description
Sets the callback function used by the Border Agent to notify any changes related to use of ephemeral key.
Requires OPENTHREAD_CONFIG_BORDER_AGENT_EPHEMERAL_KEY_ENABLE
.
A subsequent call to this function will replace any previously set callback.
@param[in] aInstance The OpenThread instance. @param[in] aCallback The callback function pointer. @param[in] aContext The arbitrary context to use with callback.