summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL_ubuntu.md45
1 files changed, 43 insertions, 2 deletions
diff --git a/INSTALL_ubuntu.md b/INSTALL_ubuntu.md
index fa4a8f7..c9be22b 100644
--- a/INSTALL_ubuntu.md
+++ b/INSTALL_ubuntu.md
@@ -89,11 +89,52 @@ Then install RVI via dpkg:
To confirm that RVI has installed successfully, run:
- sudo service rvi status
+ sudo service rvi start
Expected output:
- TODO
+ * Starting Remote Vehicle Interaction Node... rvi [ OK ]
+
+Find out which services are registered through `rvi_get_services`:
+
+ /usr/lib/rvi_core/rvi_get_services
+
+The command should return no output, since we have not registered any services yet.
+
+Register a service by calling `rvi_service` -- start with "hello":
+
+ /usr/lib/rvi_core/rvi_service hello
+
+Expected output:
+
+ RVI General Service.
+ RVI node URL: http://localhost:9001
+ Service: genivi.org/vin/default_vin/hello
+ Press enter to quit:
+
+In another terminal, call `rvi_get_services` again to see the newly registered service:
+
+ genivi.org/vin/default_vin/hello
+
+Invoke the service through `rvi_call` and the full service name:
+
+ /usr/lib/rvi_core/rvi_call genivi.org/vin/default_vin/hello
+
+In terminal 1 (where you called `rvi_service`), you should see the following output:
+
+ Service invoked!
+ args: {}
+
+In terminal 2 (where you called `rvi_call`), you should see the following output:
+
+ RVI Node: http://localhost:9001
+ Service: genivi.org/vin/default_vin/hello
+ args: {}
+
+You can pass arguments to a service call with the format name=value:
+
+ /usr/lib/rvi_core/rvi_call genivi.org/vin/default_vin/hello \
+ a=b message=hello
## CREATE A RELEASE ##