openthread_sys

Function otCommissionerRemoveJoinerWithDiscerner

Source
pub unsafe extern "C" fn otCommissionerRemoveJoinerWithDiscerner(
    aInstance: *mut otInstance,
    aDiscerner: *const otJoinerDiscerner,
) -> otError
Expand description

Removes a Joiner entry.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDiscerner A pointer to the Joiner Discerner.

@retval OT_ERROR_NONE Successfully removed the Joiner. @retval OT_ERROR_NOT_FOUND The Joiner specified by @p aEui64 was not found. @retval OT_ERROR_INVALID_ARGS @p aDiscerner is invalid. @retval OT_ERROR_INVALID_STATE The commissioner is not active.

@note Only use this after successfully starting the Commissioner role with otCommissionerStart().