Skip to contentSkip to conversation

sim: Added new properties to simmanager for DSSA

PATCH Applied Antara Borwankar 2 participants 2 messages Mar 28, 2019 – Mar 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 sim: Added new properties to simmanager for DSSA

Adding two new properties to sim manager interface to handle dual SIM single active use case.

CardSlotCount [readonly]
Contains the count of number of SIM card slots available.

ActiveCardSlot [readwrite]
Contains the index of the currently active SIM card slot for dual SIM single active mode.

---
 doc/sim-api.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
doc/sim-api.txt +12 -0
index bce47c1..c69cc74 100644
@@ -205,3 +205,15 @@ Properties	boolean Present [readonly]
 
 			Contains the SIM's ImsPrivateIdentity, read from the
 			ISIM.
+
+		uint32 CardSlotCount [readonly]
+
+			Contains the count of number of SIM card slots available.
+
+		uint32 ActiveCardSlot [readwrite]
+
+			Contains the index of the currently active SIM card slot
+			for dual SIM single active mode.
+
+			This property will range from 1 (default) to
+			CardSlotCount (max) value.
Signature · 1 line
1.9.1
#1 lore raw

Hi Antara,

Quoted 24 lines · Antara Borwankar

Adding two new properties to sim manager interface to handle dual SIM single active use case.

CardSlotCount [readonly]
Contains the count of number of SIM card slots available.

ActiveCardSlot [readwrite]
Contains the index of the currently active SIM card slot for dual SIM single active mode.

---
  doc/sim-api.txt | 12 ++++++++++++
  1 file changed, 12 insertions(+)
doc/sim-api.txt +2 -0
index bce47c1..c69cc74 100644
@@ -205,3 +205,15 @@ Properties	boolean Present [readonly]
 
  			Contains the SIM's ImsPrivateIdentity, read from the
  			ISIM.
+
+		uint32 CardSlotCount [readonly]

doc/sim-api.txt Properties boolean Present [readonly] · line 219

Quoted 10 lines
doc/sim-api.txt +10 -0
+
+			Contains the count of number of SIM card slots available.
+
+		uint32 ActiveCardSlot [readwrite]
+
+			Contains the index of the currently active SIM card slot
+			for dual SIM single active mode.
+
+			This property will range from 1 (default) to
+			CardSlotCount (max) value.

I amended this patch to mark both of these properties [experimental] and applied, thanks!

Regards,
-Denis