summaryrefslogtreecommitdiff
path: root/data/mbim-service-phonebook.json
blob: e7ecfb8371e42bda2d2466e3806f91bf7ea56619 (plain)
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

[
  // *********************************************************************************
  { "type" : "Service",
    "name" : "Phonebook" },

  // *********************************************************************************
  { "name"         : "Configuration",
    "type"         : "Command",
    "since"        : "1.4",
    "query"        : [],
    "response"     : [ { "name"          : "State",
                         "format"        : "guint32",
                         "public-format" : "MbimPhonebookState" },
                       { "name"   : "NumberOfEntries",
                         "format" : "guint32" },
                       { "name"   : "UsedEntries",
                         "format" : "guint32" },
                       { "name"   : "MaxNumberLength",
                         "format" : "guint32" },
                       { "name"   : "MaxName",
                         "format" : "guint32" } ],
    "notification" : [ { "name"          : "State",
                         "format"        : "guint32",
                         "public-format" : "MbimPhonebookState" },
                       { "name"   : "NumberOfEntries",
                         "format" : "guint32" },
                       { "name"   : "UsedEntries",
                         "format" : "guint32" },
                       { "name"   : "MaxNumberLength",
                         "format" : "guint32" },
                       { "name"   : "MaxName",
                         "format" : "guint32" } ] },

  // *********************************************************************************
  { "name"     : "MbimPhonebookEntry",
    "type"     : "Struct",
    "since"    : "1.4",
    "contents" : [ { "name"   : "EntryIndex",
                     "format" : "guint32" },
                   { "name"          : "Number",
                     "format"        : "string",
                     "personal-info" : "true" },
                   { "name"          : "Name",
                     "format"        : "string",
                     "personal-info" : "true" } ] },

  { "name"     : "Read",
    "type"     : "Command",
    "since"    : "1.4",
    "query"    : [ { "name"          : "FilterFlag",
                     "format"        : "guint32",
                     "public-format" : "MbimPhonebookFlag" },
                   { "name"          : "FilterMessageIndex",
                     "format"        : "guint32" } ],
    "response" : [ { "name"   : "EntryCount",
                     "format" : "guint32" },
                   { "name"             : "Entries",
                     "format"           : "ref-struct-array",
                     "struct-type"      : "MbimPhonebookEntry",
                     "array-size-field" : "EntryCount" } ] },

  // *********************************************************************************
  { "name"     : "Delete",
    "type"     : "Command",
    "since"    : "1.4",
    "set"      : [ { "name"          : "FilterFlag",
                     "format"        : "guint32",
                     "public-format" : "MbimPhonebookFlag" },
                   { "name"          : "FilterMessageIndex",
                     "format"        : "guint32" } ],
    "response" : [] },


  // *********************************************************************************
  { "name"     : "Write",
    "type"     : "Command",
    "since"    : "1.4",
    "set"      : [ { "name"          : "SaveFlag",
                     "format"        : "guint32",
                     "public-format" : "MbimPhonebookWriteFlag" },
                   { "name"   : "SaveIndex",
                     "format" : "guint32" },
                   { "name"          : "Number",
                     "format"        : "string",
                     "personal-info" : "true" },
                   { "name"          : "Name",
                     "format"        : "string",
                     "personal-info" : "true" } ],
    "response" : [] }

]