Top |
const gchar * | mbim_service_get_string () |
const gchar * | mbim_service_lookup_name () |
guint | mbim_register_custom_service () |
gboolean | mbim_unregister_custom_service () |
gboolean | mbim_service_id_is_custom () |
const gchar * | mbim_context_type_get_string () |
gboolean | mbim_uuid_cmp () |
gboolean | mbim_uuid_from_printable () |
gchar * | mbim_uuid_get_printable () |
const MbimUuid * | mbim_uuid_from_service () |
MbimService | mbim_uuid_to_service () |
const MbimUuid * | mbim_uuid_from_context_type () |
MbimContextType | mbim_uuid_to_context_type () |
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 |
#define | MBIM_UUID_MS_FIRMWARE_ID |
#define | MBIM_UUID_MS_HOST_SHUTDOWN |
#define | MBIM_UUID_PROXY_CONTROL |
#define | MBIM_UUID_QMI |
const gchar *
mbim_service_get_string (MbimService val
);
Gets the nickname string for the MbimService specified at val
.
a string with the nickname, or NULL
if not found. Do not free the returned value.
[transfer none]
const gchar *
mbim_service_lookup_name (guint service
);
Gets the nickname string for the service
.
As opposed to mbim_service_get_string()
, this methods takes into account
custom services that may have been registered by the user.
a string with the nickname, or NULL
if not found. Do not free the returned value.
[transfer none]
guint mbim_register_custom_service (const MbimUuid *uuid
,const gchar *nickname
);
Register a custom service
gboolean
mbim_unregister_custom_service (const guint id
);
Unregister a custom service.
gboolean
mbim_service_id_is_custom (const guint id
);
Checks whether id
is a custom or standard service.
const gchar *
mbim_context_type_get_string (MbimContextType val
);
Gets the nickname string for the MbimContextType specified at val
.
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.
gboolean mbim_uuid_from_printable (const gchar *str
,MbimUuid *uuid
);
Fills in uuid
from the printable representation give in str
.
Only ccepts str
written with dashes separating items, e.g.:
a289cc33-bcbb-8b4f-b6b0-133ec2aae6df
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
.
The service
needs to be either a generic one (including MBIM_SERVICE_INVALID)
or a custom registered one.
MbimService
mbim_uuid_to_service (const MbimUuid *uuid
);
Get the service corresponding to uuid
.
const MbimUuid *
mbim_uuid_from_context_type (MbimContextType context_type
);
Get the UUID corresponding to context_type
.
MbimContextType
mbim_uuid_to_context_type (const MbimUuid *uuid
);
Get the context type corresponding to uuid
.
Enumeration of the generic MBIM services.
Enumeration of the generic MBIM context types.
#define MBIM_UUID_INVALID mbim_uuid_from_service (MBIM_SERVICE_INVALID)
Get the UUID of the MBIM_SERVICE_INVALID
service.
#define MBIM_UUID_BASIC_CONNECT mbim_uuid_from_service (MBIM_SERVICE_BASIC_CONNECT)
Get the UUID of the MBIM_SERVICE_BASIC_CONNECT
service.
#define MBIM_UUID_SMS mbim_uuid_from_service (MBIM_SERVICE_SMS)
Get the UUID of the MBIM_SERVICE_SMS
service.
#define MBIM_UUID_USSD mbim_uuid_from_service (MBIM_SERVICE_USSD)
Get the UUID of the MBIM_SERVICE_USSD
service.
#define MBIM_UUID_PHONEBOOK mbim_uuid_from_service (MBIM_SERVICE_PHONEBOOK)
Get the UUID of the MBIM_SERVICE_PHONEBOOK
service.
#define MBIM_UUID_STK mbim_uuid_from_service (MBIM_SERVICE_STK)
Get the UUID of the MBIM_SERVICE_STK
service.
#define MBIM_UUID_AUTH mbim_uuid_from_service (MBIM_SERVICE_AUTH)
Get the UUID of the MBIM_SERVICE_AUTH
service.
#define MBIM_UUID_DSS mbim_uuid_from_service (MBIM_SERVICE_DSS)
Get the UUID of the MBIM_SERVICE_DSS
service.
#define MBIM_UUID_MS_FIRMWARE_ID mbim_uuid_from_service (MBIM_SERVICE_MS_FIRMWARE_ID)
Get the UUID of the MBIM_SERVICE_MS_FIRMWARE_ID
service.
#define MBIM_UUID_MS_HOST_SHUTDOWN mbim_uuid_from_service (MBIM_SERVICE_MS_HOST_SHUTDOWN)
Get the UUID of the MBIM_SERVICE_MS_HOST_SHUTDOWN
service.
#define MBIM_UUID_PROXY_CONTROL mbim_uuid_from_service (MBIM_SERVICE_PROXY_CONTROL)
Get the UUID of the MBIM_SERVICE_PROXY_CONTROL
service.
#define MBIM_UUID_QMI mbim_uuid_from_service (MBIM_SERVICE_QMI)
Get the UUID of the MBIM_SERVICE_QMI
service.