All: add purpose parameter to setVersion calls

All calls to setVersion now include a purpose argument, changing the
purpose string from "unknown" to "other".

Change-Id: I201db1719333b51deead2dd99c9f637c782efd6c
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
diff --git a/test/common/exampledevice/example_device.cpp b/test/common/exampledevice/example_device.cpp
index da51131..86606fb 100644
--- a/test/common/exampledevice/example_device.cpp
+++ b/test/common/exampledevice/example_device.cpp
@@ -49,7 +49,8 @@
 
     device->softwareCurrent = std::make_unique<Software>(ctx, *device);
 
-    device->softwareCurrent->setVersion("v1.0");
+    device->softwareCurrent->setVersion("v1.0",
+                                        SoftwareVersion::VersionPurpose::Other);
     device->softwareCurrent->setActivation(
         SoftwareActivation::Activations::Active);