config from device