api,simple: new 'multiplex' setting in bearer properties
Both the Simple.Connect() and Modem.CreateBearer() are updated to allow a new 'multiplex' setting in the properties provided by the user in both of these methods. The new setting expects a MMBearerMultiplexSupport enum indicating what kind of multiplex needs the user has: * none: if multiplex must not be used. * requested: if multiplex should be used if available. * required: if multiplex must be used. The underlying implementations will take care of accepting or rejecting the setting depending on the system and modem capabilities.
This commit is contained in:
@@ -78,16 +78,19 @@ void mm_simple_connect_properties_set_allow_roaming (MMSimpleConnectProperties *
|
||||
gboolean allow_roaming);
|
||||
void mm_simple_connect_properties_set_rm_protocol (MMSimpleConnectProperties *self,
|
||||
MMModemCdmaRmProtocol protocol);
|
||||
void mm_simple_connect_properties_set_multiplex (MMSimpleConnectProperties *self,
|
||||
MMBearerMultiplexSupport multiplex);
|
||||
|
||||
const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self);
|
||||
MMBearerAllowedAuth mm_simple_connect_properties_get_allowed_auth (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_user (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_password (MMSimpleConnectProperties *self);
|
||||
MMBearerIpFamily mm_simple_connect_properties_get_ip_type (MMSimpleConnectProperties *self);
|
||||
gboolean mm_simple_connect_properties_get_allow_roaming (MMSimpleConnectProperties *self);
|
||||
MMModemCdmaRmProtocol mm_simple_connect_properties_get_rm_protocol (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self);
|
||||
MMBearerAllowedAuth mm_simple_connect_properties_get_allowed_auth (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_user (MMSimpleConnectProperties *self);
|
||||
const gchar *mm_simple_connect_properties_get_password (MMSimpleConnectProperties *self);
|
||||
MMBearerIpFamily mm_simple_connect_properties_get_ip_type (MMSimpleConnectProperties *self);
|
||||
gboolean mm_simple_connect_properties_get_allow_roaming (MMSimpleConnectProperties *self);
|
||||
MMModemCdmaRmProtocol mm_simple_connect_properties_get_rm_protocol (MMSimpleConnectProperties *self);
|
||||
MMBearerMultiplexSupport mm_simple_connect_properties_get_multiplex (MMSimpleConnectProperties *self);
|
||||
|
||||
#ifndef MM_DISABLE_DEPRECATED
|
||||
G_DEPRECATED
|
||||
|
Reference in New Issue
Block a user