2025年4月29日 星期二

eSIM with LPCA on Ubuntu

拿了片Thales eSIM實體卡,插在轉板上+FN990A28模組
可以用AT+ESIMID=1取得eID,但無法用lpca取得任何eSIM資訊

另外,at+cpin?時,總是會發生+CME ERROR: 14 (SIM busy)
查資料後,說是跟硬體有關

lpac
$ git clone https://github.com/estkme-group/lpac.git
$ cmake -B build_x86 -DLPAC_WITH_APDU_QMI=ON
$ cd build_x86
$ make
...
...
ouput/lpac
不知道是不是cpin有問題,才無法讀取...
$ export LPAC_APDU=qmi
$ export QMI_DEVICE=/dev/cdc-wdm1

$ sudo -E lpac chip info
error: allocate QMI client failed: CID allocation failed in the CTL client: Transaction timed out
{"type":"lpa","payload":{"code":-1,"message":"euicc_init","data":""}}

$ sudo -E lpac chip info
error: open logical channel operation failed: QMI protocol error (82): 'AccessDenied'
{"type":"lpa","payload":{"code":-1,"message":"euicc_init","data":""}}

$ qmicli --version
qmicli 1.37.0
Copyright (C) 2012-2023 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


ref:
how-to-use-an-esim-in-linux/

沒有留言:

張貼留言