(self, handle, timeout=4)
return bytearray([int(x, 16) for x in rval])
Reads a Characteristic by handle.
        :param handle: handle of Characteristic to read.
        :type handle: str
        :return: bytearray of result.
        :rtype: bytearray
Reads a Characteristic by handle.
        :param handle: handle of Characteristic to read.
        :type handle: str
        :return: bytearray of result.
        :rtype: bytearray
Reads a Characteristic by handle . : param handle : handle of Characteristic to read . : type handle : str : return : bytearray of result . : rtype : bytearray
def char_read_handle(self, handle, timeout=4):
        """
        Reads a Characteristic by handle.
        :param handle: handle of Characteristic to read.
        :type handle: str
        :return: bytearray of result.
        :rtype: bytearray
        """
        with self._receiver.event("value/descriptor", timeout=timeout):
            self.sendline('char-read-hnd 0x{0:02x}'.format(handle))
        rval = self._receiver.last_value("value/descriptor", "after"
                                         ).split()[1:]
        return bytearray([int(x, 16) for x in rval])
def char_read_handle ( self , handle , timeout = 4 ) : with self . _receiver . event ( "value/descriptor" , timeout = timeout ) : self . sendline ( 'char-read-hnd 0x{0:02x}' . format ( handle ) ) rval = self . _receiver . last_value ( "value/descriptor" , "after" ) . split ( ) [ 1 : ] return bytearray ( [ int ( x , 16 ) for x in rval ] )