@Override
    void assembleMessageParameters() {
        mAid = (byte) mAppKey.getAid();
        final ByteBuffer paramsBuffer;
        MeshLogger.verbose(TAG, "State: " + (mState ? "ON" : "OFF"));
        if (mTransitionSteps == null || mTransitionResolution == null || mDelay == null) {
            paramsBuffer = ByteBuffer.allocate(2).order(ByteOrder.LITTLE_ENDIAN);
            paramsBuffer.put((byte) (mState ? 0x01 : 0x00));
            paramsBuffer.put((byte) this.tId);
        } else {
            MeshLogger.verbose(TAG, "Transition steps: " + mTransitionSteps);
            MeshLogger.verbose(TAG, "Transition step resolution: " + mTransitionResolution);
            paramsBuffer = ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN);
            paramsBuffer.put((byte) (mState ? 0x01 : 0x00));
            paramsBuffer.put((byte) this.tId);
            paramsBuffer.put((byte) (mTransitionResolution << 6 | mTransitionSteps));
            final int delay = mDelay;
            paramsBuffer.put((byte) delay);
        }
        mParameters = paramsBuffer.array();
    }
Constructs LightLCLightOnOffSet message.

@param appKey               {@link ApplicationKey} key for this message
@param state                Boolean state of the Light LC Light
@param tId                  transaction id
@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
@throws IllegalArgumentException if any illegal arguments are passed
mesh/src/main/java/no/nordicsemi/android/mesh/transport/LightLCLightOnOffSet.java