[−][src]Function openthread_sys::otLinkRawSetEnable
pub unsafe extern "C" fn otLinkRawSetEnable(
aInstance: *mut otInstance,
aEnabled: bool
) -> otError
This function enables/disables the raw link-layer.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled TRUE to enable raw link-layer, FALSE otherwise.
@retval OT_ERROR_NONE If the enable state was successfully set. @retval OT_ERROR_INVALID_STATE If the OpenThread Ip6 interface is already enabled.