diff options
author | Eric Caruso <ejcaruso@chromium.org> | 2021-03-16 10:17:08 -0700 |
---|---|---|
committer | Eric Caruso <ejcaruso@chromium.org> | 2021-08-05 10:28:19 -0400 |
commit | 9db0819088a3a74910d041c8825720afc424e01c (patch) | |
tree | baab83701fa86a70aa6050c3286cd2a4d6b12110 | |
parent | 59c453fad36d010c833ccf0d92775018aea90029 (diff) |
pdc: add Refresh indication
-rw-r--r-- | data/qmi-service-pdc.json | 32 | ||||
-rw-r--r-- | src/libqmi-glib/qmi-enums-pdc.h | 16 |
2 files changed, 47 insertions, 1 deletions
diff --git a/data/qmi-service-pdc.json b/data/qmi-service-pdc.json index 7f1ce68..127e1ab 100644 --- a/data/qmi-service-pdc.json +++ b/data/qmi-service-pdc.json @@ -71,6 +71,12 @@ "type" : "TLV", "since" : "1.18", "format" : "guint8", + "public-format" : "gboolean"}, + { "name" : "Enable Refresh", + "id" : "0x11", + "type" : "TLV", + "since" : "1.32", + "format" : "guint8", "public-format" : "gboolean"}], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -403,5 +409,29 @@ "output" : [ { "common-ref" : "Indication Result", "since" : "1.18" }, { "common-ref" : "Token", - "since" : "1.18" }] } + "since" : "1.18" }] }, + + // ********************************************************************************* + { "name" : "Refresh", + "type" : "Indication", + "service" : "PDC", + "id" : "0x2F", + "since" : "1.32", + "output" : [ { "name" : "Refresh Event", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.32", + "format" : "guint32", + "public-format" : "QmiPdcRefreshEventType" }, + { "name" : "Subscription ID", + "id" : "0x10", + "type" : "TLV", + "since" : "1.32", + "format" : "guint32" }, + { "name" : "Slot ID", + "id" : "0x11", + "type" : "TLV", + "since" : "1.32", + "format" : "guint32" }] } ] diff --git a/src/libqmi-glib/qmi-enums-pdc.h b/src/libqmi-glib/qmi-enums-pdc.h index 24f8f18..5d7caea 100644 --- a/src/libqmi-glib/qmi-enums-pdc.h +++ b/src/libqmi-glib/qmi-enums-pdc.h @@ -52,4 +52,20 @@ typedef enum { /*< since=1.18 >*/ QMI_PDC_CONFIGURATION_TYPE_SOFTWARE = 1, } QmiPdcConfigurationType; +/** + * QmiPdcRefreshEventType: + * @QMI_PDC_REFRESH_START: Refresh start event + * @QMI_PDC_REFRESH_COMPLETE: Refresh complete event + * @QMI_PDC_REFRESH_CLIENT_REFRESH: Client refresh event + * + * Refresh event type. + * + * Since: 1.32 + */ +typedef enum { /*< since=1.32 >*/ + QMI_PDC_REFRESH_START = 0, + QMI_PDC_REFRESH_COMPLETE = 1, + QMI_PDC_REFRESH_CLIENT_REFRESH = 2, +} QmiPdcRefreshEventType; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_PDC_H_ */ |