qmi-dialer is an example of how to use QMI to establish a modem connection.