lpac/docs/ENVVARS.md
Coelacanthus 5b98993af4
chore: rename documents directory to docs (#83)
Signed-off-by: Coelacanthus <CoelacanthusHex@gmail.com>
2024-05-08 15:01:50 +08:00

936 B

Environment Variables

General

  • LPAC_APDU: specify which APDU backend will be used. Values:
    • at: use AT commands interface used by LTE module
    • pcsc: use PC/SC Smart Card API
    • stdio: use standard input/output
    • 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 libcurl
    • stdio: use standard input/ouput
  • AT_DEVICE: specify which serial port device will be used by AT APDU backend.
  • INTERFACE_SELECT_ENV: specify which PC/SC interface will be used by PC/SC APDU backend.

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 be true to take effect.