Device Status - AdvantageNavigator/ImportEngine GitHub Wiki
The following example shows how to send a device status to the Advantage Navigator import engine:
ImportEngineClient client = new ImportEngineClient("testuser", "secret");
DeviceStatus status = new DeviceStatus(DeviceStatusClass.OK, "Device up and running", "1.0");
DeviceStatusCommand command = new DeviceStatusCommand(status);
String result = client.executeCommand(command);
The DeviceStatusCommand class sets , as delimiter in the constructor. In tests, using ; as delimiter didn't work (even if the delimiter is set in the command file header). For more infomation regarding to the device status command, see also the import engine documentation.