tools/hidraw.py
def command_raw(self, buf: List[int], delay: int = 0.02) -> List[int]:
        '''
        Writes data to the device node and reads the reply (non-blocking)
        '''
        self.write(buf)
        time.sleep(delay)
        return self.read_raw()

        Writes data to the device node and reads the reply (non-blocking)
        
Writes data to the device node and reads the reply (non-blocking)
Writes data to the device node and reads the reply ( non - blocking )
def command_raw(self, buf: List[int], delay: int = 0.02) -> List[int]:
        self.write(buf)
        time.sleep(delay)
        return self.read_raw()
def command_raw ( self , buf : List [ int ] , delay : int = 0.02 ) -> List [ int ] : self . write ( buf ) time . sleep ( delay ) return self . read_raw ( )
Writes data to the device node and reads the reply (non-blocking)
Writes data to the device node and reads the reply ( non - blocking )
'''
        Writes data to the device node and reads the reply (non-blocking)
        '''
self
buf
List[int]
delay
int