tools/hidraw.py
def command(self, buf: List[int], timeout: int = 1) -> List[int]:
        '''
        Writes data to the device node and reads the reply
        '''
        self.write(buf)
        return self.read(timeout)

        Writes data to the device node and reads the reply
        
Writes data to the device node and reads the reply
Writes data to the device node and reads the reply
def command(self, buf: List[int], timeout: int = 1) -> List[int]:
        self.write(buf)
        return self.read(timeout)
def command ( self , buf : List [ int ] , timeout : int = 1 ) -> List [ int ] : self . write ( buf ) return self . read ( timeout )
Writes data to the device node and reads the reply
Writes data to the device node and reads the reply
'''
        Writes data to the device node and reads the reply
        '''
self
buf
List[int]
timeout
int