'How to get wds status indications from qmilib in python
I used the "simple-tester-python.py" example in qmilib as a template to read out the packet statistics (e.g. rx_bytes) of a bearer. It is working. Now I would like to receive this data via indications. There is a chapter "WDS Packet Service Status indication" in the "libqmi-glib reference". According to this description it should be possible, or is this already my misunderstanding?
I looked at the indications in the modem manager. The callback for evaluating an indication is integrated there in "g_signal_connect()". I can't find a way to hook the callback in Python.
I haven't found an example on the web where an indication of qmilib is received by a Python program. I know that the modem manager periodically queries the packet statistics, but I need that as an indication in a separate program.
Maybe there is some kind of "simple-tester-python-indications.py" somewhere? Or it would be nice to include such an example in the libqmi examples ;-)
Thanks in advance,
Poldi
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
