add radio_state set/query support
[project/umbim.git] / data / mbim-service-phonebook.h
1 /*
2  * ID: 1
3  * Command: Configuration
4  */
5
6 #define MBIM_CMD_PHONEBOOK_CONFIGURATION        1
7
8 struct mbim_phonebook_configuration_r =
9         u32 state;
10         u32 numberofentries;
11         u32 usedentries;
12         u32 maxnumberlength;
13         u32 maxname;
14 }
15
16 struct mbimphonebookentry = {
17         u32 entryindex;
18         struct mbim_string number;
19         struct mbim_string name;
20 }
21
22 /*
23  * ID: 2
24  * Command: Read
25  */
26
27 #define MBIM_CMD_PHONEBOOK_READ 2
28
29 struct mbim_phonebook_read_q = {
30         u32 filterflag;
31         u32 filtermessageindex;
32 }
33
34 struct mbim_phonebook_read_r =
35         u32 entrycount;
36         struct mbim_ref_struct_array entries;
37 }
38
39 /*
40  * ID: 3
41  * Command: Delete
42  */
43
44 #define MBIM_CMD_PHONEBOOK_DELETE       3
45
46 /*
47  * ID: 4
48  * Command: Write
49  */
50
51 #define MBIM_CMD_PHONEBOOK_WRITE        4
52