lpac/docs/backends/qmi.md
septs 54f80570e1
feat(driver): add uqmi backend (#316)
Co-authored-by: Coelacanthus <uwu@coelacanthus.name>
2025-09-26 00:36:45 +08:00

854 B

QMI APDU Backend

QMI is a proprietary protocol used by Qualcomm devices. It is commonly used for communication with cellular modems.

OpenWrt Specific

On OpenWrt, the uqmi command line tool can be used to interact with QMI devices.

To use uqmi as the APDU backend, set the LPAC_APDU environment variable to uqmi.

Environment Variables

  • LPAC_APDU_QMI_UIM_SLOT: specify which UIM slot to use.
    (integer, default: 1, slot number starts from 1)
  • LPAC_APDU_QMI_DEVICE: specify the QMI device path.
    (string, default: /dev/cdc-wdm0)
  • LPAC_APDU_UQMI_DEBUG: enable debug output for uqmi commands.
    (boolean, default: false)
  • LPAC_APDU_UQMI_PROGRAM: specify the uqmi program path.
    (string, default: uqmi)