not able to receive any indications using libqmi on Linaro
shilpa.vel at gmail.com
Thu Dec 1 23:34:04 UTC 2016
Thank you for your quick response.
It appears from the qmi prints, that no indications are being sent. I only
req/rsp to device open etc. API calls.
Although, app has successfully registered for NAS srv-sys indications and
also connected to signal : serving-system.
Do I need to do anything else to receive indications?
On Dec 1, 2016 1:53 PM, "Aleksander Morgado" <aleksander at aleksander.es>
On Thu, Dec 1, 2016 at 7:46 PM, Shilpa Velamuri <shilpa.vel at gmail.com>
> Is there a runtime debug flag that can be turned on to see log messages
> libqmi to see if it is sending out any indications.
// Set default handler for all libqmi log messages
g_log_set_handler ("Qmi", G_LOG_LEVEL_MASK, log_handler, NULL);
// And enable traces so that sent/received messages are printed
The log_handler method is a GLogFunc:
You can see an example in libqmi sources under src/qmicli/qmicli.c.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libqmi-devel