| 1 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 |
/* |
| 3 |
* libqmi-glib -- GLib/GIO based library to control QMI devices |
| 4 |
* |
| 5 |
* This library is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU Lesser General Public |
| 7 |
* License as published by the Free Software Foundation; either |
| 8 |
* version 2 of the License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This library is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* Lesser General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU Lesser General Public |
| 16 |
* License along with this library; if not, write to the |
| 17 |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 |
* Boston, MA 02110-1301 USA. |
| 19 |
* |
| 20 |
* Copyright (C) 2023 Dylan Van Assche <[email protected]> |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifndef _LIBQMI_GLIB_QMI_ENUMS_IMSA_H_ |
| 24 |
#define _LIBQMI_GLIB_QMI_ENUMS_IMSA_H_ |
| 25 |
|
| 26 |
#if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION) |
| 27 |
#error "Only <libqmi-glib.h> can be included directly." |
| 28 |
#endif |
| 29 |
|
| 30 |
/** |
| 31 |
* SECTION: qmi-enums-imsa |
| 32 |
* @title: IMSA enumerations and flags |
| 33 |
* @short_description: Enumerations and flags in the IMSA service. |
| 34 |
* |
| 35 |
* This section defines enumerations and flags used in the IMSA service |
| 36 |
* interface. |
| 37 |
*/ |
| 38 |
|
| 39 |
/** |
| 40 |
* QmiImsaImsRegistrationStatus: |
| 41 |
* @QMI_IMSA_IMS_NOT_REGISTERED: no registration for IMS. |
| 42 |
* @QMI_IMSA_IMS_REGISTERING: IMS is registering. |
| 43 |
* @QMI_IMSA_IMS_REGISTERED: IMS is fully registered. |
| 44 |
* @QMI_IMSA_IMS_LIMITED_REGISTERED: IMS is limited registered, expect limited services. |
| 45 |
* |
| 46 |
* IMS registration status. |
| 47 |
* |
| 48 |
* Since: 1.34 |
| 49 |
*/ |
| 50 |
typedef enum { /*< since=1.34 >*/ |
| 51 |
QMI_IMSA_IMS_NOT_REGISTERED = 0x00, |
| 52 |
QMI_IMSA_IMS_REGISTERING = 0x01, |
| 53 |
QMI_IMSA_IMS_REGISTERED = 0x02, |
| 54 |
QMI_IMSA_IMS_LIMITED_REGISTERED = 0x03, |
| 55 |
} QmiImsaImsRegistrationStatus; |
| 56 |
|
| 57 |
/** |
| 58 |
* QmiImsaServiceStatus: |
| 59 |
* @QMI_IMSA_SERVICE_UNAVAILABLE: Service unavailable. |
| 60 |
* @QMI_IMSA_SERVICE_LIMITED: Service limited available. |
| 61 |
* @QMI_IMSA_SERVICE_AVAILABLE: Service available. |
| 62 |
* |
| 63 |
* IMS Application Service availibility status. |
| 64 |
* |
| 65 |
* Since: 1.34 |
| 66 |
*/ |
| 67 |
typedef enum { /*< since=1.34 >*/ |
| 68 |
QMI_IMSA_SERVICE_UNAVAILABLE = 0x00, |
| 69 |
QMI_IMSA_SERVICE_LIMITED = 0x01, |
| 70 |
QMI_IMSA_SERVICE_AVAILABLE = 0x02, |
| 71 |
} QmiImsaServiceStatus; |
| 72 |
|
| 73 |
/** |
| 74 |
* QmiImsaRegistrationTechnology: |
| 75 |
* @QMI_IMSA_REGISTERED_WLAN: registered on WLAN interface. |
| 76 |
* @QMI_IMSA_REGISTERED_WWAN: registered on WWAN interface. |
| 77 |
* @QMI_IMSA_REGISTERED_INTERWORKING_WLAN: registered on Interworking WLAN interface. |
| 78 |
* |
| 79 |
* Network technology on which service is available. |
| 80 |
* |
| 81 |
* Since: 1.34 |
| 82 |
*/ |
| 83 |
typedef enum { /*< since=1.34 >*/ |
| 84 |
QMI_IMSA_REGISTERED_WLAN = 0x00, |
| 85 |
QMI_IMSA_REGISTERED_WWAN = 0x01, |
| 86 |
QMI_IMSA_REGISTERED_INTERWORKING_WLAN = 0x02, |
| 87 |
} QmiImsaRegistrationTechnology; |
| 88 |
|
| 89 |
#endif /* _LIBQMI_GLIB_QMI_ENUMS_IMSA_H_ */ |
| 90 |
|