def from_frame(cls, frame):
        """Initilize the frame object based on a KNX/IP data frame."""
        # TODO: Check length
        ipframe = cls(frame[2] * 256 + frame[3])
        ipframe.body = frame[6:]
        return ipframe
Initilize the frame object based on a KNX/IP data frame.