def write_device_config(self, device_config):
        if not self.capabilities.have_usb_mode(device_config._mode):
            raise yubikey_base.YubiKeyVersionError("USB mode: %02x not supported for %s" % (device_config._mode, self))
        return self._device._write_config(device_config, SLOT.DEVICE_CONFIG)
Write a DEVICE_CONFIG to the YubiKey NEO.
dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_neo_usb_hid.py/YubiKeyNEO_USBHID.write_device_config