[QMI] 3gpp profile manager crash creating or deleting profiles (code should not be reached)
When the modem is using the QMI interface, create or delete a profile causes a crash, since the code reaches a point "it should not reach"
mmcli log
carlo in ~/workspace/telit/ModemManager/build on main
❯ sudo mmcli -m 0 --3gpp-profile-manager-list
[sudo] password for carlo:
----------------------------
3GPP profile manager | list: profile-id: 1
| profile enabled: yes
| profile name:
| apn:
| allowed auth: pap
| ip type: ipv4v6
| profile-id: 2
| profile enabled: yes
| profile name:
| apn:
| ip type: ipv4v6
| profile-id: 3
| profile enabled: yes
| profile name:
| apn:
| ip type: ipv4v6
| profile-id: 4
| profile enabled: yes
| profile name:
| apn:
| ip type: ipv4
elapsed 0h:1m.34s
carlo in ~/workspace/telit/ModemManager/build on main
❯ sudo mmcli -m 0 --3gpp-profile-manager-delete=1
error: couldn't delete profile: 'GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying'
ModemManager log
**
7617 ERROR:../src/mm-iface-modem-3gpp-profile-manager.c:1179:handle_delete_auth_ready: code should not be reached
7618 Bail out! ERROR:../src/mm-iface-modem-3gpp-profile-manager.c:1179:handle_delete_auth_ready: code should not be reached
No problems using the MBIM interface.
Edited by Carlo Lobrano