Commit Graph
5 Commits
Author SHA1 Message Date
Aleksander Morgado e7409b6898 api,modem: new 'SimSlots' and 'PrimarySimSlot' properties
The 'SimSlots' property exposes an array of SIM object paths, with one
array item for each available SIM slot in the system. If a valid SIM
card is found in a given slot, the path of the SIM object will be
exposed in the array item; if no valid SIM card is found, the empty
object path ("/") will be exposed instead.

The 'PrimarySimSlot' property exposes which of the SIM slots available
in the system is the one configured as being primary. In a Multi-SIM
Single-Standby setup, the primary slot will be the one corresponding
to the single active SIM in the system. In a Multi-SIM Multi-Standby
setup, the primary slot will be the one configured to act as primary
(e.g. the one that will be used for the data connection) among all the
active SIM cards found.
2020-08-28 14:59:06 +00:00
Aleksander Morgado 79abe00221 core: new `MMAsyncMethod' boxed type
Helps to bundle the async method implementation in a property.
2012-08-06 20:06:46 +02:00
Aleksander Morgado 1f3e67775c core: new private boxed types for string and uint16 pairs 2012-03-15 14:15:05 +01:00
Aleksander Morgado 0358c787c0 core: new boxed type for NULL-terminated array of gpointers 2012-03-15 14:14:51 +01:00
Aleksander Morgado 2052b8184f core: new boxed type for 0-terminated array of guint16 values 2012-03-15 14:14:51 +01:00