[][src]Function openthread_sys::otLinkRawSetPromiscuous

pub unsafe extern "C" fn otLinkRawSetPromiscuous(
    aInstance: *mut otInstance,
    aEnable: bool
) -> otError

This function enables or disables promiscuous mode.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnable A value to enable or disable promiscuous mode.

@retval OT_ERROR_NONE If successful. @retval OT_ERROR_INVALID_STATE If the raw link-layer isn't enabled.