pub unsafe extern "C" fn otLinkRawSetMacKey(
    aInstance: *mut otInstance,
    aKeyIdMode: u8,
    aKeyId: u8,
    aPrevKey: *const otMacKey,
    aCurrKey: *const otMacKey,
    aNextKey: *const otMacKey
) -> otError
Expand description

Update MAC keys and key index.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aKeyIdMode The key ID mode. @param[in] aKeyId The key index. @param[in] aPrevKey The previous MAC key. @param[in] aCurrKey The current MAC key. @param[in] aNextKey The next MAC key.

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