Device Configuration - AdvantageNavigator/ImportEngine GitHub Wiki
The DEVICE_CONFIGURATION command allows to store device configuration files at the Advantage Navigator platform. The file can be downloaded manually using the web front-end. Each device can store multiple files. If a file with the same filename is uploaded twice or more often, each copy will be stored (older versions are not overwritten). Currently there is no furter infomation like a version or an upload date stored with the configuration file, so the latest version must be identified through the file content. Furthermore, Advantage Navigator seems to delete line breaks in the configuration file; this may be a problem with line-based configuration like INI-files.
The following example shows how to send a device configuration to Advantage Navigator:
ImportEngineClient client = new ImportEngineClient("testdevice", "secret");
String content = String.format("property1 = value1%nproperty2 = value2%nproperty3 = value3");
DeviceConfiguration config = new DeviceConfiguration("anotherfile.properties", content);
DeviceConfigurationCommand command = new DeviceConfigurationCommand(config);
String result = client.executeCommand(command);
For more infomation regarding to the DEVICE_CONFIGURATION command visit the import engine documentation.