MS UICC - Open Logical Channel issue
Hi all,
i'm trying to comunicate with an uICC/eSIM inside a Foxconn T99W175 module, but after open logical channel, all other commands report error 0x87430003
that is a invalid logical channel used. Here what i've done, i'm just asking EID of eSIM:
Query modem over MBIM:
mbimcli -d /dev/wwan0mbim0 --query-device-caps
[/dev/wwan0mbim0] Device capabilities retrieved:
Device type: 'embedded'
Cellular class: 'gsm'
Voice class: 'no-voice'
SIM class: 'removable'
Data class: 'umts, hsdpa, hsupa, lte, custom'
SMS caps: 'pdu-receive, pdu-send'
Ctrl caps: 'reg-manual'
Max sessions: '15'
Custom data class: '5G'
Device ID: 'XXXXX'
Firmware info: 'T99W175.F0.1.0.0.9.VF.008
096'
Hardware info: 'Qualcomm Snapdragon X55 5G'
Do ATR on eSIM:
mbimcli -d /dev/wwan0mbim0 --ms-query-uicc-atr
Succesfully retrieved ATR info:
response: 3B:9F:97:C0:0A:3F:C7:82:80:31:E0:73:FE:21:1F:65:D0:02:34:14:5B:81:0F:18
Open Logical Channel with AID a0000005591010ffffffff8900000100
:
mbimcli -d /dev/wwan0mbim0 --ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"
Succesfully retrieved open channel info:
status: 144
channel: 1
response: 6F:76:84:10:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:01:00:A5:5B:73:4C:06:07:2A:86:48:86:FC:6B:01:60:0B:06:09:2A:86:48:86:FC:6B:02:02:02:63:09:06:07:2A:86:48:86:FC:6B:03:65:0D:06:0B:2A:86:48:86:FC:6B:05:04:02:00:00:66:1A:06:0A:2B:06:01:04:01:2A:02:6E:01:03:06:0C:53:54:33:33:4A:32:4D:30:01:05:01:22:9F:6E:06:00:77:01:50:01:42:9F:65:01:FF:E0:05:82:03:02:02:00
Trying to get eSIM EID:
mbimcli -d /dev/wwan0mbim0 --ms-set-uicc-apdu="channel=1,command=80f2000c00"
error: operation failed: Unknown status 0x87430003
The provisioning of eSIM and relative status is working on Windows 10, so I can presume that module is using standard MBIM API
Any suggestion? I've also tried option --no-close
on mbimcli
(tested done on a Ubuntu 23.10 Live), but without success
Thanks!