The modem is Fibocom L860GL-16.
$ DEBUG=1 ./wrapper.py chip info
recv={"type":"apdu","payload":{"func":"connect","param":null}}
INFO: Connect
send={"type": "apdu", "payload": {"ecode": 0}}
recv={"type":"apdu","payload":{"func":"logic_channel_open","param":"a0000005591010ffffffff8900000100"}}
INFO: Open channel with AID a0000005591010ffffffff8900000100
send={"type": "apdu", "payload": {"ecode": 1}}
recv={"type":"apdu","payload":{"func":"transmit","param":"81e2910006bf3e035c015a"}}
Send APDU: 81e2910006bf3e035c015a
Error executing command: error: operation failed: Unknown status 0x87430003
Traceback (most recent call last):
File "/var/home/bam/lpac/output/./wrapper.py", line 159, in <module>
main()
File "/var/home/bam/lpac/output/./wrapper.py", line 144, in main
payload = handle_type_apdu(req["payload"]["func"], req["payload"]["param"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/bam/lpac/output/./wrapper.py", line 92, in handle_type_apdu
data = send_apdu(param)
^^^^^^^^^^^^^^^^
File "/var/home/bam/lpac/output/./wrapper.py", line 35, in send_apdu
output_cmd = run_mbimcli(f'--ms-set-uicc-apdu="channel={CHANNEL_ID},command={apdu}"').split('\n')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
⬢[bam@toolbox output]$ mbimcli --device=/dev/cdc-wdm0 --intel-modem-reboot
[/dev/cdc-wdm0] Successfully requested modem to reboot for firmware update
⬢[bam@toolbox output]$ DEBUG=1 ./wrapper.py profile list
recv={"type":"apdu","payload":{"func":"connect","param":null}}
INFO: Connect
send={"type": "apdu", "payload": {"ecode": 0}}
recv={"type":"apdu","payload":{"func":"logic_channel_open","param":"a0000005591010ffffffff8900000100"}}
INFO: Open channel with AID a0000005591010ffffffff8900000100
send={"type": "apdu", "payload": {"ecode": 1}}
recv={"type":"apdu","payload":{"func":"transmit","param":"81e2910003bf2d00"}}
Send APDU: 81e2910003bf2d00
Error executing command: error: operation failed: Unknown status 0x87430003
Traceback (most recent call last):
File "/var/home/bam/lpac/output/./wrapper.py", line 159, in <module>
main()
File "/var/home/bam/lpac/output/./wrapper.py", line 144, in main
payload = handle_type_apdu(req["payload"]["func"], req["payload"]["param"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/home/bam/lpac/output/./wrapper.py", line 92, in handle_type_apdu
data = send_apdu(param)
^^^^^^^^^^^^^^^^
File "/var/home/bam/lpac/output/./wrapper.py", line 35, in send_apdu
output_cmd = run_mbimcli(f'--ms-set-uicc-apdu="channel={CHANNEL_ID},command={apdu}"').split('\n')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'
Also, if I open the Channel manually and then try to immediately close, it fails:
$ mbimcli -d /dev/cdc-wdm0 --ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"
Succesfully retrieved open channel info:
status: 144
channel: 1
response: (null)
$ mbimcli -d /dev/cdc-wdm0 --ms-set-uicc-close-channel="channel=1"
error: operation failed: Unknown status 0x87430003
The modem is Fibocom L860GL-16.
Logic Channel seems successfully open but then
Send APDU:part fails, I tried different commands:Also, if I open the Channel manually and then try to immediately close, it fails:
What could I else try to diagnose it?
@abrasive @z3ntu