dnlplm / WiresharkQMIDissector

Wireshark QMI dissector for Qualcomm based modems
GNU General Public License v3.0
10 stars 6 forks source link

Wireshark QMI Dissector

Wireshark Dissector for Qualcomm MSM Interface (QMI) Protocol v0.2

Copyright (c) 2017 Daniele Palmas dnlplm@gmail.com

Based on:

Usage

Once the dissector has been generated:

LINUX

  1. Make sure to have usbmon support enabled

  2. Find device in the lsusb output, e.g.:

    $ lsusb ... Bus 003 Device 022: ID 1bc7:1201 Telit Wireless Solutions ...

  3. Run wireshark:

    $ wireshark -X lua_script:qmi_dissector_gen.lua

  4. Collect log in the appropriate usbmon device (3 in the example) and appply qmi filter

WINDOWS

  1. Make sure to have usbpcap installed

  2. Find device in USBPcapCMD.exe output, e.g.:

    C:\Program Files\USBPcap\USBPcaCMD.exe ... 2 \.\USBPcap4 \??\USB#ROOT_HUB20#4&244e1552&0# [Port 2] Telit USB Composite Device 0x1201

  3. Run wireshark:

    "C:\Program Files\Wireshark\Wireshark.exe" -X lua_script:qmi_dissector_gen.lua

  4. Collect log in the appropriate usbpcap device (4 in the example)

Contributors

Daniele Palmas dnlplm@gmail.com

License

GPL V3