Top |
MM3gppProfile * | mm_3gpp_profile_new () |
const gchar * | mm_3gpp_profile_get_apn () |
void | mm_3gpp_profile_set_apn () |
MMBearerApnType | mm_3gpp_profile_get_apn_type () |
void | mm_3gpp_profile_set_apn_type () |
MMBearerAllowedAuth | mm_3gpp_profile_get_allowed_auth () |
void | mm_3gpp_profile_set_allowed_auth () |
const gchar * | mm_3gpp_profile_get_user () |
void | mm_3gpp_profile_set_user () |
const gchar * | mm_3gpp_profile_get_password () |
void | mm_3gpp_profile_set_password () |
MMBearerIpFamily | mm_3gpp_profile_get_ip_type () |
void | mm_3gpp_profile_set_ip_type () |
gint | mm_3gpp_profile_get_profile_id () |
void | mm_3gpp_profile_set_profile_id () |
The MM3gppProfile is an object handling the settings associated to a connection profile stored in the device.
MM3gppProfile *
mm_3gpp_profile_new (void
);
Creates a new empty MM3gppProfile.
Since: 1.18
const gchar *
mm_3gpp_profile_get_apn (MM3gppProfile *self
);
Gets the name of the access point.
the access point, or NULL if not set. Do not free
the returned value, it is owned by self
.
[transfer none]
Since: 1.18
void mm_3gpp_profile_set_apn (MM3gppProfile *self
,const gchar *apn
);
Sets the name of the access point to use.
Since: 1.18
MMBearerApnType
mm_3gpp_profile_get_apn_type (MM3gppProfile *self
);
Gets the APN types to use.
Since: 1.18
void mm_3gpp_profile_set_apn_type (MM3gppProfile *self
,MMBearerApnType apn_type
);
Sets the APN types to use.
Since: 1.18
MMBearerAllowedAuth
mm_3gpp_profile_get_allowed_auth (MM3gppProfile *self
);
Gets the methods allowed to use when authenticating with the access point.
a bitmask of MMBearerAllowedAuth values, or
MM_BEARER_ALLOWED_AUTH_UNKNOWN
to request the modem-default method.
Since: 1.18
void mm_3gpp_profile_set_allowed_auth (MM3gppProfile *self
,MMBearerAllowedAuth allowed_auth
);
Sets the method to use when authenticating with the access point.
self |
||
allowed_auth |
a bitmask of MMBearerAllowedAuth values.
|
Since: 1.18
const gchar *
mm_3gpp_profile_get_user (MM3gppProfile *self
);
Gets the username used to authenticate with the access point.
the username, or NULL if not set. Do not free the
returned value, it is owned by self
.
[transfer none]
Since: 1.18
void mm_3gpp_profile_set_user (MM3gppProfile *self
,const gchar *user
);
Sets the username used to authenticate with the access point.
Since: 1.18
const gchar *
mm_3gpp_profile_get_password (MM3gppProfile *self
);
Gets the password used to authenticate with the access point.
the password, or NULL if not set. Do not free
the returned value, it is owned by self
.
[transfer none]
Since: 1.18
void mm_3gpp_profile_set_password (MM3gppProfile *self
,const gchar *password
);
Sets the password used to authenticate with the access point.
Since: 1.18
MMBearerIpFamily
mm_3gpp_profile_get_ip_type (MM3gppProfile *self
);
Gets the IP type to use.
Since: 1.18
void mm_3gpp_profile_set_ip_type (MM3gppProfile *self
,MMBearerIpFamily ip_type
);
Sets the IP type to use.
Since: 1.18
gint
mm_3gpp_profile_get_profile_id (MM3gppProfile *self
);
Gets the profile id.
Since: 1.18
void mm_3gpp_profile_set_profile_id (MM3gppProfile *self
,gint profile_id
);
Sets the profile id to use.
If none specified explicitly, MM_3GPP_PROFILE_ID_UNKNOWN is assumed.
Since: 1.18
#define MM_3GPP_PROFILE_ID_UNKNOWN -1
This value may be specified in the 'profile-id' property When the user creates a new MM3gppProfile, to indicate that the real profile id should be assigned by the device.
struct MM3gppProfile;
The MM3gppProfile structure contains private data and should only be accessed using the provided API.