Bash client

The Bash client can be used either as a command-line tool or as a library of shell functions in other scripts. The library and the command-line tool are all included in a single file that is located in the Linux SDK in sdk/client/bash/va-client. Type va-client for command-line usage instructions.

If you want to use the functions in your scripts, the best way to do this is to include the va-client script and to call the commands directly as functions:


. $HOME/VisionAppster/sdk/client/bash/va-client

# The address of your Raspberry Pi running VisionAppster Engine

va_property_set userDefinedName '"New name"'

Note that both input and output data to the VisionAppster Engine are JSON-encoded by default, and you need to work with raw JSON data. The client makes no conversions for you. Use jq to en/decode JSON messages.