api,modem: new 'SetPrimarySimSlot' method
This new method allows changing the SIM slot considered as primary, when the modem supports multiple SIM slots. The generic handling of this method will make sure that the modem object and all its SIM objects are re-probed from scratch as soon as a successful SIM slot switch happens. Implementations may report MM_CORE_ERROR_EXISTS when the switch doesn't need to happen (e.g. if the requested SIM slot is already the active one).
This commit is contained in:
@@ -188,6 +188,9 @@ mm_modem_get_primary_sim_slot
|
||||
mm_modem_list_sim_slots
|
||||
mm_modem_list_sim_slots_finish
|
||||
mm_modem_list_sim_slots_sync
|
||||
mm_modem_set_primary_sim_slot
|
||||
mm_modem_set_primary_sim_slot_finish
|
||||
mm_modem_set_primary_sim_slot_sync
|
||||
<SUBSECTION Methods>
|
||||
mm_modem_enable
|
||||
mm_modem_enable_finish
|
||||
@@ -2135,6 +2138,9 @@ mm_gdbus_modem_call_set_current_bands_sync
|
||||
mm_gdbus_modem_call_set_current_capabilities
|
||||
mm_gdbus_modem_call_set_current_capabilities_finish
|
||||
mm_gdbus_modem_call_set_current_capabilities_sync
|
||||
mm_gdbus_modem_call_set_primary_sim_slot
|
||||
mm_gdbus_modem_call_set_primary_sim_slot_finish
|
||||
mm_gdbus_modem_call_set_primary_sim_slot_sync
|
||||
mm_gdbus_modem_call_command
|
||||
mm_gdbus_modem_call_command_finish
|
||||
mm_gdbus_modem_call_command_sync
|
||||
@@ -2185,6 +2191,7 @@ mm_gdbus_modem_complete_reset
|
||||
mm_gdbus_modem_complete_set_current_modes
|
||||
mm_gdbus_modem_complete_set_current_bands
|
||||
mm_gdbus_modem_complete_set_current_capabilities
|
||||
mm_gdbus_modem_complete_set_primary_sim_slot
|
||||
mm_gdbus_modem_interface_info
|
||||
mm_gdbus_modem_override_properties
|
||||
<SUBSECTION Standard>
|
||||
|
Reference in New Issue
Block a user