@Override
    void assembleMessageParameters() {
        mAid = SecureUtils.calculateK4(mAppKey.getKey());
        final ByteBuffer paramsBuffer;
        MeshLogger.verbose(TAG, "Delta: " + mDelta);
        if (mTransitionSteps == null || mTransitionResolution == null || mDelay == null) {
            paramsBuffer = ByteBuffer.allocate(GENERIC_DELTA_SET_PARAMS_LENGTH).order(ByteOrder.LITTLE_ENDIAN);
            paramsBuffer.putInt((short) mDelta);
            paramsBuffer.put((byte) tId);
        } else {
            MeshLogger.verbose(TAG, "Transition steps: " + mTransitionSteps);
            MeshLogger.verbose(TAG, "Transition step resolution: " + mTransitionResolution);
            paramsBuffer = ByteBuffer.allocate(GENERIC_DELTA_SET_TRANSITION_PARAMS_LENGTH).order(ByteOrder.LITTLE_ENDIAN);
            paramsBuffer.putInt((short) (mDelta));
            paramsBuffer.put((byte) tId);
            paramsBuffer.put((byte) (mTransitionResolution << 6 | mTransitionSteps));
            final int delay = mDelay;
            paramsBuffer.put((byte) delay);
        }
        mParameters = paramsBuffer.array();
    }
Constructs GenericLevelDeltaSet message.

@param appKey               {@link ApplicationKey} key for this message
@param transitionSteps      Transition steps for the level
@param transitionResolution Transition resolution for the level
@param delay                Delay for this message to be executed 0 - 1275 milliseconds
@param delta                Level delta of the GenericLevelModel
@param tId                  Transaction id
@throws IllegalArgumentException if any illegal arguments are passed
mesh/src/main/java/no/nordicsemi/android/mesh/transport/GenericDeltaSet.java