libmbim-glib Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
enum MbimService; enum MbimContextType; MbimUuid; #define MBIM_UUID_INVALID #define MBIM_UUID_BASIC_CONNECT #define MBIM_UUID_SMS #define MBIM_UUID_USSD #define MBIM_UUID_PHONEBOOK #define MBIM_UUID_STK #define MBIM_UUID_AUTH #define MBIM_UUID_DSS const gchar * mbim_service_get_string (MbimService val
); const gchar * mbim_context_type_get_string (MbimContextType val
); gboolean mbim_uuid_cmp (const MbimUuid *a
,const MbimUuid *b
); gchar * mbim_uuid_get_printable (const MbimUuid *uuid
); const MbimUuid * mbim_uuid_from_service (MbimService service
); MbimService mbim_uuid_to_service (const MbimUuid *uuid
); const MbimUuid * mbim_uuid_from_context_type (MbimContextType context_type
); MbimContextType mbim_uuid_to_context_type (const MbimUuid *uuid
);
typedef enum { MBIM_SERVICE_INVALID = 0, MBIM_SERVICE_BASIC_CONNECT = 1, MBIM_SERVICE_SMS = 2, MBIM_SERVICE_USSD = 3, MBIM_SERVICE_PHONEBOOK = 4, MBIM_SERVICE_STK = 5, MBIM_SERVICE_AUTH = 6, MBIM_SERVICE_DSS = 7, } MbimService;
Enumeration of the generic MBIM services.
Invalid service. | |
Basic connectivity service. | |
SMS messaging service. | |
USSD service. | |
Phonebook service. | |
SIM toolkit service. | |
Authentication service. | |
Device Service Stream service. |
typedef enum { MBIM_CONTEXT_TYPE_INVALID = 0, MBIM_CONTEXT_TYPE_NONE = 1, MBIM_CONTEXT_TYPE_INTERNET = 2, MBIM_CONTEXT_TYPE_VPN = 3, MBIM_CONTEXT_TYPE_VOICE = 4, MBIM_CONTEXT_TYPE_VIDEO_SHARE = 5, MBIM_CONTEXT_TYPE_PURCHASE = 6, MBIM_CONTEXT_TYPE_IMS = 7, MBIM_CONTEXT_TYPE_MMS = 8, MBIM_CONTEXT_TYPE_LOCAL = 9, } MbimContextType;
Enumeration of the generic MBIM context types.
Invalid context type. | |
Context not yet provisioned. | |
Connection to the Internet. | |
Connection to a VPN. | |
Connection to a VoIP service. | |
Connection to a video sharing service. | |
Connection to an over-the-air activation site. | |
Connection to IMS. | |
Connection to MMS. | |
A local. |
#define MBIM_UUID_INVALID mbim_uuid_from_service (MBIM_SERVICE_INVALID)
Get the UUID of the MBIM_SERVICE_INVALID
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_BASIC_CONNECT mbim_uuid_from_service (MBIM_SERVICE_BASIC_CONNECT)
Get the UUID of the MBIM_SERVICE_BASIC_CONNECT
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_SMS mbim_uuid_from_service (MBIM_SERVICE_SMS)
Get the UUID of the MBIM_SERVICE_SMS
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_USSD mbim_uuid_from_service (MBIM_SERVICE_USSD)
Get the UUID of the MBIM_SERVICE_USSD
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_PHONEBOOK mbim_uuid_from_service (MBIM_SERVICE_PHONEBOOK)
Get the UUID of the MBIM_SERVICE_PHONEBOOK
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_STK mbim_uuid_from_service (MBIM_SERVICE_STK)
Get the UUID of the MBIM_SERVICE_STK
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_AUTH mbim_uuid_from_service (MBIM_SERVICE_AUTH)
Get the UUID of the MBIM_SERVICE_AUTH
service.
Returns : |
a MbimUuid. [transfer none] |
#define MBIM_UUID_DSS mbim_uuid_from_service (MBIM_SERVICE_DSS)
Get the UUID of the MBIM_SERVICE_DSS
service.
Returns : |
a MbimUuid. [transfer none] |
const gchar * mbim_service_get_string (MbimService val
);
Gets the nickname string for the MbimService specified at val
.
|
a MbimService. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
const gchar * mbim_context_type_get_string (MbimContextType val
);
Gets the nickname string for the MbimContextType specified at val
.
|
a MbimContextType. |
Returns : |
a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]
|
gboolean mbim_uuid_cmp (const MbimUuid *a
,const MbimUuid *b
);
Compare two MbimUuid
values.
gchar * mbim_uuid_get_printable (const MbimUuid *uuid
);
Get a string with the UUID.
const MbimUuid * mbim_uuid_from_service (MbimService service
);
Get the UUID corresponding to service
.
|
a MbimService. |
Returns : |
a MbimUuid. [transfer none] |
MbimService mbim_uuid_to_service (const MbimUuid *uuid
);
Get the service corresponding to uuid
.
|
a MbimUuid. |
Returns : |
a MbimService. |
const MbimUuid * mbim_uuid_from_context_type (MbimContextType context_type
);
Get the UUID corresponding to context_type
.
|
a MbimContextType. |
Returns : |
a MbimUuid. [transfer none] |
MbimContextType mbim_uuid_to_context_type (const MbimUuid *uuid
);
Get the context type corresponding to uuid
.
|
a MbimUuid. |
Returns : |
a MbimContextType. |