<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hardware_version(self):
 """Returns the hardware version of the connected J-Link as a major.minor string. Args: self (JLink):
 the ``JLink`` instance Returns: Hardware version string. """

        version = self._dll.JLINKARM_GetHardwareVersion()
        major = version / 10000 % 100
        minor = version / 100 % 100
        return '%d.%02d' % (major, minor)