set_configuration


Description:

[ Version ( since = "0.1.0" ) ]
public bool set_configuration (int configuration) throws Error

Set the active bConfigurationValue for the device.

Warning: this function is synchronous.

Parameters:

this

a Device

configuration

the configuration value to set

Returns:

true on success