hciroutetest Tcl procs
Tcl procs pre-defined for hciroutetest are:
-
hciroutetestshowbydest
Prints the message content to stdout by dest msgcontent.
-
hciroutetestsavebydest
Saves the successfully handled message content to the file naming base.dest.
-
hciroutetestsavebydeststatus
Saves the successfully handled message content to the file naming
base.srcid.trxid.dest.0
.0
= "success" -
hciroutetestsavebydeststatus _errtps
Saves any message which fails in xlate/route to the file naming
base.srcid.trxid.dest.1
.1
= "failure" - hciroutetestsavebydisp
Saves the message to a file.
- hciroutetestshowbydisp
Displays the message in the IDE.
There is also an option to display only the final output message or both the intermedia chained or branched message and the final output message. When this option is selected, the message is displayed after each xlate.
When the route test option (-n
show intermedia branched and chained messages)
is selected, hciroutetestsavebydisp or hciroutetestshowbydisp is called after each xlate.
- hciroutetestsavebydisp saves the message to a file.
- hciroutetestshowbydisp displays the message in the IDE.
When the route test option (-n
show intermedia branched and chained messages)
is selected and is hciroutetestshowbydest,
the message between the xlate and the destination is displayed. For example:
test1.xlt msg
test2.xlt msg
dest msg
When the route test option (-n
show intermedia branched and chained messages)
is selected and Save to File is selected,
then the message between the xlate and destination is saved to the selected
file.
For example:
- Save the file to aaa.
- Run hciroutetest.
Files aaa, aaa.branch_dest1, aaa.branch_dest2 and messages after test2.xlt and test3.xlt are saved to file aaa.
Messages after test3.xlt and the branch_dest1 message are saved in file aaa.branch_dest1.
Messages after test1.xlt and the branch_dest2 are saved in file aaa.branch_dest2.