pub unsafe extern "C" fn otLinkRawSetPromiscuous(
aInstance: *mut otInstance,
aEnable: bool,
) -> otError
Expand description
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.