OpenWrt QMI-based 3g|4g dialing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.