Global variables commands

These global variables are available for javaUPoC and JavaDriver:

  • gvsubstring

    This substitutes global variables in a TCL string with their values.

    Usage:

    gvsubstring stringvalue

    For example, when there is a secret global variable that is set to gofish in the configuration, the interaction with the command is:

    hcitcl>gvsubstring {secret is $$secret}

    secret is "gofish"

  • gvsubfile

    This loads a file and substitutes all global variable represented in it with their values.

    Usage:

    gvsubfile filename [outfilename]

    If outfilename is given, then the updated result is written to the path pointed by outfilename. Otherwise, the updated content is returned by the command as a TCL string.