Libqril is a high-level library which encompasses event handling, async, service discovery, and state management for QMI messages. It is built on top of Bjorn Anderssons QRTR and QMIC projects (with some additions). It's designed to offer a simple high level interface for communication with Qualcomm DSPs like the modem found on devices like the OnePlus 6 which use QRTR/QMI.
The primary user and motivation for this project is qrild. Please refer to the README there for more information.
Refer to libqril.h for the API definition, and see examples for example usage.
old contains some old code which may still serve as a useful reference for future work. The whole old version of libqril can be seen here
Libqril needs to be built against this fork of QRTR and this fork of QMIC.