-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsoleFramework.xml
executable file
·114 lines (104 loc) · 3.29 KB
/
consoleFramework.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0"?>
<data>
<!-- Top Level Function -->
<command text="Version">
<description>
Print Version Information
</description>
<callMethod function="PrintVersion"></callMethod>
</command>
<!-- Top Level Function (Gateway) -->
<command text="Auth" type="Gateway">
<description>
Authentication Gateway
</description>
<!-- Declare Gateway Dispatch Handler -->
<dispatch function="Authenticate">
<param>
<name>Password</name>
<type>char*</type>
<description>Gateway Password</description>
</param>
<!-- Gateway EndPoint -->
<endpoint name="AdminRoot">
<command text="Init">
<description>
Assign FileID to Init Action
</description>
<callMethod function="AssignInitFileID">
<param>
<name>FileID</name>
<type>uint8_t</type>
<description>FileID of the file to be assigned</description>
</param>
</callMethod>
</command>
<command text="GPIO">
<description>
Assign FileID to selected GPIO Action
</description>
<command text="Open">
<description>
Assign FileID to GPIO-Open Action
</description>
<callMethod function="AssignOpenFileID">
<param>
<name>FileID</name>
<type>uint8_t</type>
<format>hexadecimal</format>
<description>FileID of the file to be assigned</description>
</param>
</callMethod>
</command>
<command text="Close">
<description>
Assign FileID to GPIO-Close Action
</description>
<callMethod function="AssignCloseFileID">
<param>
<name>FileID</name>
<type>uint8_t</type>
<format>decimal</format>
<description>FileID of the file to be assigned</description>
</param>
</callMethod>
</command>
</command>
</endpoint>
<!-- Gateway EndPoint -->
<endpoint name="UserRoot">
<command text="Size">
<description>
Prints total file system total space
</description>
<callMethod function="PrintSystemSize"></callMethod>
</command>
<command text="Consumed">
<description>
Prints amount of used file system space
</description>
<callMethod function="PrintUsedSpace"></callMethod>
</command>
<command text="Count">
<description>
Prints count of active files
</description>
<callMethod function="PrintNumActiveFiles"></callMethod>
</command>
<command text="Dump">
<description>
Hexdump of raw file system
</description>
<callMethod function="DumpRawData"></callMethod>
</command>
<command text="List">
<description>
Prints list of active FileIDs
</description>
<callMethod function="PrintActiveFileIDs"></callMethod>
</command>
</endpoint>
<!-- End Gateway Endpoints -->
</dispatch>
</command>
</data>