This adds an additional OpenWrt specific backend to use lpac with the
uqmi tooling used by OpenWrt to manage QMI based modems.
This allows lpac to manage eUICC chips without the need for other,
potentially bigger, software using the installed modem.
Also set this backend as the new default, as users probably expect being
able to download profiles using their cellular modem.
Profile-Switching
-----------------
With some eUICC modem combinations you might require to powercycle the
UIM slot using uqmi after changing the active profile. To do this,
simply execute
$ uqmi -d /dev/cdc-wdm0 --uim-power-off --uim-slot=1
$ uqmi -d /dev/cdc-wdm0 --uim-power-on --uim-slot=1
Note
----
SM-DP+ might use encryption parameters which are incompatible with
mbedtls which cURL is by default compiled for.
This was observed when attempting to download a profile from
Vodafone DE.
If you encounter issues in that regard, try to install a version of
libcurl which is compiled with OpenSSL support.
Signed-off-by: David Bauer <david.bauer@uniberg.com>
Turns out that having a comment for QMI over QRTR in the CMAKE_OPTIONS will
drop anything after it, so lets move the comment above CMAKE_OPTIONS.
Fixes: 34f9d96b4c ("lpac: make APDU backends configurable")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Currently, lpac will be built with the PCSC and AT APDU backends by default
and its not configurable in OpenWrt.
Since smart card reads are not really common on OpenWrt devices lets
disable PCSC backend by default so we dont have to include PCSC lib and
daemon by default.
AT backend is left enabled by default since it has no external dependecies
and all modems have it.
QMI over QRTR backend is not selectable even though it is part of the 2.0.2
relase since it requires unstable libqmi 1.35.4 or newer and we are still
using 1.34 stable branch.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
lpac is a eUICC eSIM LPA manager written in C. It allows to
manage eSIM profiles on eUICC SIM cards or modules using multiple
backends.
Signed-off-by: David Bauer <mail@david-bauer.net>