SIM power patch

Kasper Holtze kasper at holtze.dk
Wed Dec 7 13:49:49 UTC 2016


Hi,

I created a patch for libqmi/qmicli, for powering up/down the SIM card:

--uim-sim-power=[(ON|OFF),(slot 
number)]                                                     Power 
on/off SIM card

Slot number is 1-based index of the SIM slot in the modem - usually 1 
for modems with 1 SIM interface.

We are using this function to switch SIM card without resetting the modem.

I have not commited any patches for libqmi before, so I'm not sure how 
to do it..? Also, as this is my first patch for this project, please let 
me know if anything needs to be changed.

Tested with Sierra MC7304.

The patch is attached to this email.

Thank you,
Kasper

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-uim-sim-power-option-to-power-up-or-down-the-S.patch
Type: text/x-patch
Size: 8699 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20161207/b737591c/attachment.bin>


More information about the libqmi-devel mailing list