pub unsafe extern "C" fn otLinkRawSetMacFrameCounter(
    aInstance: *mut otInstance,
    aMacFrameCounter: u32
) -> otError
Expand description

Sets the current MAC frame counter value.

Always sets the MAC counter to the new given value @p aMacFrameCounter independent of the current value.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMacFrameCounter The MAC frame counter value.

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