'Returns:
Tuple containing the ``(major, minor)`` version from the ADB server
Example:
>>> pwnlib.protocols.adb.AdbClient().version() # doctest: +SKIP
(4, 36)'

@_autoclose
def version(self):

    response = self.send('host:version')
    if (response == OKAY):
        return (self.c.adb_unpack(), self.c.adb_unpack())
    self.error('Could    not    fetch    version')
