Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.63 KB

File metadata and controls

35 lines (30 loc) · 1.63 KB

Environment Variables

General

  • LPAC_CUSTOM_ES10X_MSS: specify maximum segment size for ES10x APDU backend.
    (integer, default: 120, min: 6, max: 255)
  • LPAC_CUSTOM_ISD_R_AID: specify which AID will be used to open the logic channel.
    (string, hexadecimal string, default: A0000005591010FFFFFFFF8900000100)
  • LPAC_APDU_DEBUG: enable debug output for APDU.
    (boolean, default: false)
  • LPAC_HTTP_DEBUG: enable debug output for HTTP.
    (boolean, default: false)

Backends

Note

By default, lpac only tries to use pcsc and stdio in order.

If you want to use another APDU backend, specify with LPAC_APDU explicit instead.

  • LPAC_APDU: specify which APDU backend will be used. Values:
    • at: AT command interface (using AT+CCHO/CCHC/CGLA)
    • at_csim: AT command interface (using AT+CSIM)
    • pcsc: PC/SC Smartcard
    • stdio: Standard input/output
    • qmi: Qualcomm MSM Interface
    • qmi_qrtr: QMI over QRTR
    • uqmi: uQMI command line tool
    • mbim: Mobile Broadband Interface Model
    • gbinder_hidl: GBinder HIDL
  • LPAC_HTTP: specify which HTTP backend will be used. Values:
    • curl: cURL access to HTTPS resources
    • winhttp: WinHTTP access to HTTPS resources
    • stdio: Standard input/output