mirror of
https://github.com/estkme-group/lpac
synced 2025-06-29 16:22:57 +02:00
Add an APDU backend for MBIM devices. The MBIM device path can be passed via the MBIM_DEVICE environment variable. We'll default to /dev/cdc-wdm0. By default we will not operate through the mbim-proxy. Set MBIM_USE_PROXY to 1 to enable this. Like QMI devices, use UIM_PORT to select the active SIM slot. Tested on Semtech EM9191 and EM7590, and Quectel RM520N-GL. resolve #94 Signed-off-by: Frans Klaver <frans.klaver@vislink.com> Co-authored-by: Frans Klaver <frans.klaver@vislink.com>
1.4 KiB
1.4 KiB
Environment Variables
General
LPAC_APDU
: specify which APDU backend will be used. Values:at
: use AT commands interface used by LTE modulepcsc
: use PC/SC Smart Card APIstdio
: use standard input/outputqmi
: use QMIqmi_qrtr
: use QMI over QRTRmbim
: use MBIM- GBinder-based backends for
libhybris
(Halium) distributions:gbinder_hidl
: use HIDL IRadio (SoC launched before Android 13)
LPAC_HTTP
: specify which HTTP backend will be used.curl
: use libcurlstdio
: use standard input/ouput
AT_DEVICE
: specify which serial port device will be used by AT APDU backend.QMI_DEVICE
: specify which QMI device will be used by QMI APDU backend.UIM_SLOT
: specify which UIM slot will be used by QMI and MBIM APDU backends. (default: 1, slot number starts from 1)DRIVER_IFID
: specify which PC/SC interface will be used by PC/SC APDU backend.MBIM_DEVICE
: specify which MBIM device will be used by MBIM APDU backend. (default: "/dev/cdc-wdm0")MBIM_USE_PROXY
: tell the MBIM APDU backend to use the mbim-proxy. (default: 0, anything other than 0 means true)
Debug
LIBEUICC_DEBUG_APDU
: enable debug output for APDU.LIBEUICC_DEBUG_HTTP
: enable debug output for HTTP.AT_DEBUG
: enable debug output for AT APDU backend.GBINDER_APDU_DEBUG
: enable debug output for GBinder APDU backend. MUST betrue
to take effect.