Adding ESP8266 code; modified for the latest password for LEDE
[iot2.git] / localconfig / iotpolicy / development / camerapolicy.pol
1 public interface Camera {
2
3     public List<Float> MethodA(int A, int B);
4     public void MethodA(int A, int B, int AB);
5     public int MethodB(int C, String D[]);
6     public String MethodC(String E, List<Integer> F);
7     public float MethodD(List<String> G, float H);
8     public boolean MethodE(String I, boolean J);
9         public void MethodF(LightBulb K);
10         public Enum MethodG(Enum L);
11         public Struct MethodH(Struct M, int N);
12
13         capability ImageCapture {
14                 description = "The quick brown fox jumps over the smart dog";
15                 description = "Another description";
16                 method = "MethodA(int A, int B)";
17                 method = "MethodB(int C, String D[])";
18                 method = "MethodC(String E, List<Integer> F)";
19                 method = "MethodF(LightBulb K)";
20                 method = "MethodG(Enum L)";
21                 method = "MethodH(Struct M, int N)";
22         }
23
24         capability VideoRecording {
25                 description = "The quick brown fox jumps over the cool dog";
26                 method = "MethodA(int A, int B)";
27                 method = "MethodA(int A, int B, int AB)";
28                 method = "MethodD(List<String> G, float H)";
29         }
30
31         capability BackupData {
32                 description = "The quick brown fox jumps over the clever dog";
33                 method = "MethodE(String I, boolean J)";
34         }
35
36         struct Struct {
37
38                 string  name;
39                 float   value;
40                 int     year;
41         } 
42 }
43
44