I am using the EM7565 that supports 2 SIM cards.
I planned to develop management code in QMICLI as it is more simple and more easily readable than AT commands.
But looking at the QMICLI ref guide, I only found 2 commands directly providing access to SIM slot1 or slot2 (–uim-sim-power-on and uim-sim-power-off).
Other uim related QMICLI commands do not allow to set a slot id as parameter (I have even look in the qmicli code from linux and in fact, in the command tehmselves, they force the slot number to slot 1 so thta it seems those commands only access slot 1 SIM card).
And QMICLI commands from other group than uim are not dependent on the slot id at all.
Is there any way to address both SIM cards in QMICLI command ? Selecting any of them and connecting on it ?
Otherwise, I think about a mix of AT and QMICLI commands.
Concerning AT commands, I think about using “at!uimsX” AT command where X = 0 for first slot and X = 1 for second slot (next command whether QMICLI or AT commands will be directed to the slot id I ahve juts idenfied as the rpimary SIM with the previous AT command). And most probably also managing the SIM card activation via PIN by AT command also as the QMICLI uim related command hardcode a slot 1 target (so I could not activate a slot 2 SIM card using its PIN code with a QMICLI command).
Is it correct ?
As far as I understand, the QMICLI seems developped to manage only slot 1 SIM card for most of the commands ? At leats fro the QMICLI version I look at the code).