Skip to content

uim: Add Open Logical Channel & (Close) Logical Channel & Send APDU commands

Luca Weiss requested to merge lucaweiss/libqmi:apdu into main

See commits for details.

The QMI description is based on the Hermes sources from ChromiumOS: https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/hermes/uim_cmd.qmi

And on gobi-api sources: https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/blob/main/gobi-api/GobiAPI_2013-07-31-1347/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h

To be fair, I didn't yet see a way to close a logical channel again, on SM7225 modem I seem to be able to open 3 channels and then the modem refuses to open any more. Do you have any idea there how to figure that part out? Seems to be possible to close a channel again with the "Logical Channel" request (which could also do more, which is not used in qmicli now)

CC @quic_akasagga Maybe you also have some comments on this?

Edited by Luca Weiss

Merge request reports