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
93
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* libqmi-glib -- GLib/GIO based library to control QMI devices
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2012 Google Inc.
*/
#ifndef _LIBQMI_GLIB_QMI_ENUMS_WMS_H_
#define _LIBQMI_GLIB_QMI_ENUMS_WMS_H_
/*****************************************************************************/
/* Helper enums for the 'QMI WMS Event Report' indication */
/**
* QmiWmsStorageType:
* @QMI_WMS_STORAGE_TYPE_UIM: Message stored in UIM.
* @QMI_WMS_STORAGE_TYPE_NV: Message stored in non-volatile memory.
*
* Type of messaging storage
*/
typedef enum {
QMI_WMS_STORAGE_TYPE_UIM = 0x00,
QMI_WMS_STORAGE_TYPE_NV = 0x01
} QmiWmsStorageType;
/**
* QmiWmsAckIndicator:
* @QMI_WMS_ACK_INDICATOR_SEND: ACK needs to be sent.
* @QMI_WMS_ACK_INDICATOR_DO_NOT_SEND: ACK doesn't need to be sent.
*
* Indication of whether ACK needs to be sent or not.
*/
typedef enum {
QMI_WMS_ACK_INDICATOR_SEND = 0x00,
QMI_WMS_ACK_INDICATOR_DO_NOT_SEND = 0x01
} QmiWmsAckIndicator;
/**
* QmiWmsMessageFormat:
* @QMI_WMS_MESSAGE_FORMAT_CDMA: CDMA message.
* @QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_POINT_TO_POINT: Point-to-point 3GPP message.
* @QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_BROADCAST: Broadcast 3GPP message.
*
* Type of message.
*/
typedef enum {
QMI_WMS_MESSAGE_FORMAT_CDMA = 0x00,
QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_POINT_TO_POINT = 0x06,
QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_BROADCAST = 0x07
} QmiWmsMessageFormat;
/**
* QmiWmsMessageMode:
* @QMI_WMS_MESSAGE_MODE_CDMA: Message sent using 3GPP2 technologies.
* @QMI_WMS_MESSAGE_MODE_GSM_WCDMA: Message sent using 3GPP technologies.
*
* Message mode.
*/
typedef enum {
QMI_WMS_MESSAGE_MODE_CDMA = 0x00,
QMI_WMS_MESSAGE_MODE_GSM_WCDMA = 0x01
} QmiWmsMessageMode;
/**
* QmiWmsNotificationType:
* @QMI_WMS_NOTIFICATION_TYPE_PRIMARY: Primary.
* @QMI_WMS_NOTIFICATION_TYPE_SECONDARY_GSM: Secondary GSM.
* @QMI_WMS_NOTIFICATION_TYPE_SECONDARY_UMTS: Secondary UMTS.
*
* Type of notification.
*/
typedef enum {
QMI_WMS_NOTIFICATION_TYPE_PRIMARY = 0x00,
QMI_WMS_NOTIFICATION_TYPE_SECONDARY_GSM = 0x01,
QMI_WMS_NOTIFICATION_TYPE_SECONDARY_UMTS = 0x02
} QmiWmsNotificationType;
#endif /* _LIBQMI_GLIB_QMI_ENUMS_WMS_H_ */
|