User's Manual

Engineering Test Software Operation
Rev 28_A Sept 2005
64 VIA Telecom, Inc. Proprietary
Rsp: "BINLOG, Cmd=Playback, Status={Ok|Fail}, Cause=<cause>"
5.8.1.4.1 Command Parameters
Path=<pathname> The pathname of the file to be playback.
5.8.1.4.2 Response Parameters
Status={Ok|Fail} If it is Ok then the binary file has been playback. If it is Fail then the file can not
be playback for some reason
Cause=<cause> Specify the failure reason if Status = {Fail}
5.8.2 GETDEF
Add support to access Message Definition for EtsMain.exe and ViaIf.dll. Both Command and Response string
start with “GETDEF”. The following are the examples for GETDEF commands and responses. The messages
are described as the command (Cmd) to be sent to ETS or ViaIf.dll and the response (Rsp) that is returned.
5.8.2.1 Get Definition Entry Count
This message pair is used to get Definition Entry count
Cmd: "GETDEF, {Record|Message|Enum|…} = <definition name>
Rsp: "GETDEF, Entries=<number of entries>, <parameters>"
5.8.2.1.1 Command Parameters
{Record|Message|Enum|...} = <definition name> The name of the Definition
[l1]
.
5.8.2.1.2 Response Parameters
Entries=<number of entries> The number of entry in this Definition file
<parameters> Returned parameters if there’re any
5.8.2.1.3 Example
Example of a Record Definition
[l2]
:
Begin Record, ETS Definition Version
Project ,CBP4.05
Ets Version ,5.4.0
End
In this example,
Cmd: "GETDEF, Record = ETS Definition Version"
Rsp: "GETDEF, Entries = 2”
5.8.2.2 Get Definition Entry Value by Entry Number
This message pair is used to get Definition Entry Value by Entry number
Cmd: "GETDEF, {Record|Message|Enum|...} = <definition name>, Entry = <entry number>
Rsp: "GETDEF, <entry>"