summaryrefslogtreecommitdiff
path: root/data/mbim-service-phonebook.h
blob: f984da4c6d898191211799b67ed2a31d2c195854 (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
/*
 * ID: 1
 * Command: Configuration
 */

#define MBIM_CMD_PHONEBOOK_CONFIGURATION	1

struct mbim_phonebook_configuration_r =
	u32 state;
	u32 numberofentries;
	u32 usedentries;
	u32 maxnumberlength;
	u32 maxname;
}

struct mbimphonebookentry = {
	u32 entryindex;
	struct mbim_string number;
	struct mbim_string name;
}

/*
 * ID: 2
 * Command: Read
 */

#define MBIM_CMD_PHONEBOOK_READ	2

struct mbim_phonebook_read_q = {
	u32 filterflag;
	u32 filtermessageindex;
}

struct mbim_phonebook_read_r =
	u32 entrycount;
	struct mbim_ref_struct_array entries;
}

/*
 * ID: 3
 * Command: Delete
 */

#define MBIM_CMD_PHONEBOOK_DELETE	3

/*
 * ID: 4
 * Command: Write
 */

#define MBIM_CMD_PHONEBOOK_WRITE	4