summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Oster <jon@advancedtelematic.com>2016-09-02 16:22:35 +0200
committerJon Oster <jon@advancedtelematic.com>2016-09-02 16:28:10 +0200
commitbef4ae17ae22f413eab221355793cf2caff2a45d (patch)
treedf0cdbc1bd7e2f0962cac4b3471dbbd33d74d0a4
parented46b6dcffc7d08ba6ea379791e0fa1f569d030c (diff)
downloadrvi_sota_client-bef4ae17ae22f413eab221355793cf2caff2a45d.tar.gz
PRO-1185 add SendInstalledPackages to client integration docs
-rw-r--r--docs/client-guide.adoc21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/client-guide.adoc b/docs/client-guide.adoc
index 5b1ea91..4ec3103 100644
--- a/docs/client-guide.adoc
+++ b/docs/client-guide.adoc
@@ -149,6 +149,7 @@ Currently, only the core functionality of making software updates available and
- It must listen for `DownloadComplete` events on the events socket. At the moment, the only events published on the events socket are DownloadComplete events, but in future other types of events may be published. The SWLM should be capable of filtering for only the type of events it is interested in.
- It must send a `SendUpdateReport` command on the command socket, with a status code, when the update finishes.
+- It must send a `SendInstalledPackages` command on the command socket, listing the names and versions of installed packages, after a successful package install.
==== Configuration
@@ -206,3 +207,23 @@ TIP: Over D-Bus, it is also possible to sent a longer textual description of the
|19 | GENERAL_ERROR | Other error
|===
+==== SendInstalledPackages
+
+This command is used to notify the OTA client of what packages are installed on the system. It _must_ be sent (to the command socket) after each `SendUpdateReport`, and also _may_ be sent at any other time. ATS recommends sending it on system startup, at a minimum.
+
+The command syntax is simply this:
+
+----
+SendInstalledPackages package1_name package1_version package2_name package2_version [...] packageN_name packageN_version
+----
+
+Package names and versions can't contain spaces, but there are no other character restrictions. For example, all of the package/versions listed here are valid:
+
+----
+SendInstalledPackages gcc 7.63 Movie&MusicPlayer rc2-beta3 ECU9274927BF82-firmware gitID-2fab572
+----
+
+Note, however, that all packages must have a version.
+
+
+