I want to share a tool which I love and I think it will be very useful for many of you using a cellular module which has a Qualcomm based chipset (like EXS82 and EXS62 from Thales or BG95,BG96 from Quectel or uBlox Sara R410 etc.). There is even an LTE dongle available having an open diagnostic port.
This tool for me is a substitute to the QXDM tool from QCT which has high license fees - this is why I even love it more:
It is called QCSuper available on Github.
It is a python based tool which is able to decode the debug interface stream.
A simple call like:
./qcsuper.py --usb-modem /dev/ttyUSB0 --wireshark-live --decrypt-nas --reassemble-sibs --include-ip-traffic
and a working wireshark installation is enough to start it.
It will show you all the NAS messages, SIBs, pagings and even the IP traffic sent from the module.
For some modules, the needed dignostic port (DM port) needs to be enabled by some extra at-cmds.
For Quectel it is e.g.:
to enable modem log ， pls send AT+QCFG="dbgctl",0
to disbale modem log ，pls send AT+QCFG="dbgctl",1
You may try it!