(self)
return configuration.value
Get the current configuration number for this device.
Get the current configuration number for this device.
Get the current configuration number for this device .
def getConfiguration(self):
        """
        Get the current configuration number for this device.
        """
        configuration = c_int()
        result = libusb1.libusb_get_configuration(self.__handle,
                                                  byref(configuration))
        if result:
            raise libusb1.USBError(result)
        return configuration.value
def getConfiguration ( self ) : configuration = c_int ( ) result = libusb1 . libusb_get_configuration ( self . __handle , byref ( configuration ) ) if result : raise libusb1 . USBError ( result ) return configuration . value