Brief introduction
QMI--qualcom message Interface literal translation is a high-pass messaging interface. As the name implies, the purpose of this interface is to define a direct communication message with a high-pass device (mainly modem).
QMI English complete information is as follows:
Since the recent development of a MiFi device based on the QMI 3\4g dialing, so recently I will be in this process encountered problems, and some experience in a succession of updates come up.
Introduction to Development
Dependent driver--qmi_wwan
This driver is supported by default in the kernel above linux3.4. For the general 3/4G modem support is no problem, but for some special modem is not its corresponding USB ID (such as the Dragon is still the U8300C series modem). The qmi_wwan.c file needs to be modified to add its USB ID, so that when the modem is plugged in, the kernel can load the Qmi_wwan driver based on its ID.
After the modem insert driver is loaded successfully, the/dev/cdc-wwan0 device file appears. The device file is the interface from which the application sends commands and receives a response.
Upper Dialer--Uqmi
Uqmi is a small QMI dialer supported by openwrt1407 by default, it implements the dialing commands commonly used in QMI, view status commands, pin-related functions, and so on. Here's how to use it:
Eg:uqmi-d/dev/cdc-wwan0--get-data-status//Get connection status.
Uqmi-d/dev/cdc-wwan0--get-signal-info//Get signal information.
Uqmi-d/dev/cdc-wwan0--start-network LTE--auto Connect//Auto-dial LTE network.
other commands are available through uqmi-h view.
This article is from the "record Little Harvest Growth" blog, please be sure to keep this source http://gofly.blog.51cto.com/4344767/1691456
OpenWrt QMI-based 3g|4g dialing