(self)
return self.device_descriptor.bDeviceClass
Get device's class id.
Get device's class id.
Get device s class id .
def getDeviceClass(self):
        """
        Get device's class id.
        """
        return self.device_descriptor.bDeviceClass
def getDeviceClass ( self ) : return self . device_descriptor . bDeviceClass