qmiparse is a USB modem analyzer.
qmiparse will generate parsed QMI message from Wireshark-exported text.
qmiparse is written from qmicli using libqmi.
qmiparse output text is generated by qmi_message_get_printable() of libqmi.
- Setting
Makefile.amandqmiparse.cintosrc/qmiclidirectory of libqmi. - Just
make.
- Capture USB messages between host driver and USB modem by Wireshark+USBPcap on Windows.
- Filter by
usb.control.Responseon Wireshark. - Export messages as a text file by
File -> Export Packet Dissections -> As Plain Text Filewith these options:- Displayed = On
- Packet summary line = Off
- Packet details = Off
- Packet bytes = On
- Each packet on a new page = Off
qmiparse <text filename exported by Wireshark>
If define QMIPARSE_ONELINE, can be used as one line parser.
One message shall be copied like as:
- Select one USB
Control response datafield of QMI message. - Copy one message by
Copy -> Hex stream. qmiparse <Hex stream strings>
Air