api,3gpp: new 'PacketServiceState' property
This property allows the user to know whether the device is attached or detached from the packet domain service.
This commit is contained in:
@@ -1601,4 +1601,20 @@ typedef enum { /*< underscore_name=mm_bearer_apn_type >*/
|
||||
MM_BEARER_APN_TYPE_PRIVATE = 1 << 7,
|
||||
} MMBearerApnType;
|
||||
|
||||
/**
|
||||
* MMModem3gppPacketServiceState:
|
||||
* @MM_MODEM_3GPP_PACKET_SERVICE_STATE_UNKNOWN: Unknown.
|
||||
* @MM_MODEM_3GPP_PACKET_SERVICE_STATE_DETACHED: Detached.
|
||||
* @MM_MODEM_3GPP_PACKET_SERVICE_STATE_ATTACHED: Attached.
|
||||
*
|
||||
* The packet domain service state.
|
||||
*
|
||||
* Since 1.20
|
||||
*/
|
||||
typedef enum { /*< underscore_name=mm_modem_3gpp_packet_service_state >*/
|
||||
MM_MODEM_3GPP_PACKET_SERVICE_STATE_UNKNOWN = 0,
|
||||
MM_MODEM_3GPP_PACKET_SERVICE_STATE_DETACHED = 1,
|
||||
MM_MODEM_3GPP_PACKET_SERVICE_STATE_ATTACHED = 2,
|
||||
} MMModem3gppPacketServiceState;
|
||||
|
||||
#endif /* _MODEMMANAGER_ENUMS_H_ */
|
||||
|
Reference in New Issue
Block a user