| 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) 2022 Freedom Liu <[email protected]> |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifndef _LIBQMI_GLIB_QMI_ENUMS_FOX_H_ |
| 24 |
#define _LIBQMI_GLIB_QMI_ENUMS_FOX_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-fox |
| 32 |
* @title: FOX enumerations and flags |
| 33 |
* @short_description: Enumerations and flags in the FOX service. |
| 34 |
* |
| 35 |
* This section defines enumerations and flags used in the FOX service |
| 36 |
* interface. |
| 37 |
*/ |
| 38 |
|
| 39 |
/** |
| 40 |
* QmiFoxFirmwareVersionType: |
| 41 |
* @QMI_FOX_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG: E.g. T99W265.F0.0.0.0.1.GC.004. |
| 42 |
* @QMI_FOX_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS: E.g. T99W265.F0.0.0.0.1.GC.004.001. |
| 43 |
* @QMI_FOX_FIRMWARE_VERSION_TYPE_APPS: E.g. 001. |
| 44 |
* |
| 45 |
* Foxconn specific firmware version types. |
| 46 |
* |
| 47 |
* Since: 1.32 |
| 48 |
*/ |
| 49 |
typedef enum { /*< since=1.32 >*/ |
| 50 |
QMI_FOX_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG = 0x00, |
| 51 |
QMI_FOX_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS = 0x01, |
| 52 |
QMI_FOX_FIRMWARE_VERSION_TYPE_APPS = 0x02, |
| 53 |
} QmiFoxFirmwareVersionType; |
| 54 |
|
| 55 |
#endif /* _LIBQMI_GLIB_QMI_ENUMS_FOX_H_ */ |
| 56 |
|