@Override
    void assembleMessageParameters() {
        MeshLogger.debug(TAG, "Destination address: " + Integer.toHexString(dstAddress));
        MeshLogger.debug(TAG, "Count Log: " + Integer.toHexString(countLog));
        MeshLogger.debug(TAG, "Period Log: " + Integer.toHexString(periodLog));
        MeshLogger.debug(TAG, "TTL: " + Integer.toHexString(dstAddress));
        MeshLogger.debug(TAG, "Features: " + features.toString());
        MeshLogger.debug(TAG, "Net key index: " + Integer.toHexString(netKeyIndex));
        final byte[] netKeyIndex = addKeyIndexPadding(this.netKeyIndex);
        final ByteBuffer paramsBuffer = ByteBuffer.allocate(9).order(ByteOrder.LITTLE_ENDIAN);
        paramsBuffer.putShort((short) dstAddress);
        paramsBuffer.put((byte) countLog);
        paramsBuffer.put((byte) periodLog);
        paramsBuffer.put((byte) ttl);
        paramsBuffer.putShort((short) features.assembleFeatures());
        paramsBuffer.put(netKeyIndex[1]);
        paramsBuffer.put((byte) ((netKeyIndex[0] & 0xFF) & 0x0F));
        mParameters = paramsBuffer.array();
    }
Constructs ConfigHeartbeatPublicationSet message.

@param dstAddress  Destination address identifies the Heartbeat Publication
                   destination where the address can only be an unassigned address,
                   unicast address or a group address. All other values are prohibited.
@param countLog    Number of Heartbeat messages to be sent.
@param periodLog   Period for sending Heartbeat messages.
@param ttl         TTL to be used when sending Heartbeat messages.
@param features    Bit field indicating features that trigger Heartbeat messages when changed.
@param netKeyIndex Network key index.
@throws IllegalArgumentException if any illegal arguments are passed
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ConfigHeartbeatPublicationSet.java