code: public static RawFrame create(final int mediumType, final byte[] data,
  		final int offset, final boolean extBusmon) throws KNXFormatException
  	{
  		switch (mediumType) {
  		case KNXMediumSettings.MEDIUM_TP1:
  			return createTP1(data, offset);
  		case KNXMediumSettings.MEDIUM_PL110:
  			return createPL110(data, offset, extBusmon);
  		case KNXMediumSettings.MEDIUM_RF:
  			return new RFLData(data, offset);
  		default:
  			throw new KNXFormatException("unknown KNX medium for raw frame", mediumType);
  		}
  	}
docs: Creates a raw frame out of a byte array for the specified communication medium. This method just invokes one of
  the other medium type specific creation methods according the given medium type.
  
  @param mediumType KNX communication medium, one of the media types declared in {@link KNXMediumSettings}
  @param data byte array containing the raw frame structure
  @param offset start offset of frame structure in <code>data</code>, 0 &lt;= offset &lt; <code>data.length</code>
  @param extBusmon parse <code>data</code> as PL110 extended busmonitor frame, i.e., <code>data</code> contains the
  domain address; ignored if medium type is not PL110
  @return the created raw frame for the specified medium
  @throws KNXFormatException on unknown/not supported KNX medium or no valid frame structure