initial import
[project/umbim.git] / data / mbim-service-phonebook.json
1
2 [
3 // *********************************************************************************
4 { "type" : "Service",
5 "name" : "Phonebook" },
6
7 // *********************************************************************************
8 { "name" : "Configuration",
9 "service" : "Phonebook",
10 "type" : "Command",
11 "query" : [],
12 "response" : [ { "name" : "State",
13 "format" : "guint32",
14 "public-format" : "MbimPhonebookState" },
15 { "name" : "NumberOfEntries",
16 "format" : "guint32" },
17 { "name" : "UsedEntries",
18 "format" : "guint32" },
19 { "name" : "MaxNumberLength",
20 "format" : "guint32" },
21 { "name" : "MaxName",
22 "format" : "guint32" } ],
23 "notification" : [ { "name" : "State",
24 "format" : "guint32",
25 "public-format" : "MbimPhonebookState" },
26 { "name" : "NumberOfEntries",
27 "format" : "guint32" },
28 { "name" : "UsedEntries",
29 "format" : "guint32" },
30 { "name" : "MaxNumberLength",
31 "format" : "guint32" },
32 { "name" : "MaxName",
33 "format" : "guint32" } ] },
34
35 // *********************************************************************************
36 { "name" : "MbimPhonebookEntry",
37 "type" : "Struct",
38 "contents" : [ { "name" : "EntryIndex",
39 "format" : "guint32" },
40 { "name" : "Number",
41 "format" : "string" },
42 { "name" : "Name",
43 "format" : "string" } ] },
44
45 { "name" : "Read",
46 "service" : "Phonebook",
47 "type" : "Command",
48 "query" : [ { "name" : "FilterFlag",
49 "format" : "guint32",
50 "public-format" : "MbimPhonebookFlag" },
51 { "name" : "FilterMessageIndex",
52 "format" : "guint32" } ],
53 "response" : [ { "name" : "EntryCount",
54 "format" : "guint32" },
55 { "name" : "Entries",
56 "format" : "ref-struct-array",
57 "struct-type" : "MbimPhonebookEntry",
58 "array-size-field" : "EntryCount" } ] },
59
60 // *********************************************************************************
61
62 { "name" : "Delete",
63 "service" : "Phonebook",
64 "type" : "Command",
65 "set" : [ { "name" : "FilterFlag",
66 "format" : "guint32",
67 "public-format" : "MbimPhonebookFlag" },
68 { "name" : "FilterMessageIndex",
69 "format" : "guint32" } ],
70 "response" : [] },
71
72
73 // *********************************************************************************
74
75 { "name" : "Write",
76 "service" : "Phonebook",
77 "type" : "Command",
78 "set" : [ { "name" : "SaveFlag",
79 "format" : "guint32",
80 "public-format" : "MbimPhonebookWriteFlag" },
81 { "name" : "SaveIndex",
82 "format" : "guint32" },
83 { "name" : "Number",
84 "format" : "string" },
85 { "name" : "Name",
86 "format" : "string" } ],
87 "response" : [] }
88
89 ]