cbm: Add CellBroadcast interface

This adds support for the Cell Broadcast interface allowing to
receive, list, read and delete Cell Broadcast messages via the
org.freedesktop.ModemManager1.Modem.CellBroadcast and
org.freedesktop.ModemManager1.Cbm interfaces.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2024-12-01 21:41:10 +00:00
committed by Aleksander Morgado
parent eedf78d662
commit 62f7b76e8e
16 changed files with 2103 additions and 1 deletions
+16
View File
@@ -1107,6 +1107,22 @@ typedef enum { /*< underscore_name=mm_sms_cdma_service_category >*/
MM_SMS_CDMA_SERVICE_CATEGORY_CMAS_TEST = 0x1004,
} MMSmsCdmaServiceCategory;
/**
* MMCbmState:
* @MM_CBM_STATE_UNKNOWN: State unknown or not reportable.
* @MM_CBM_STATE_RECEIVING: The message is being received but is not yet complete.
* @MM_CBM_STATE_RECEIVED: The message has been completely received.
*
* State of a given CBM.
*
* Since: 1.24
*/
typedef enum { /*< underscore_name=mm_cbm_state >*/
MM_CBM_STATE_UNKNOWN = 0,
MM_CBM_STATE_RECEIVING = 1,
MM_CBM_STATE_RECEIVED = 2,
} MMCbmState;
/**
* MMModemLocationSource:
* @MM_MODEM_LOCATION_SOURCE_NONE: None.