not able to receive any indications using libqmi on Linaro
aleksander at aleksander.es
Thu Dec 1 21:53:55 UTC 2016
On Thu, Dec 1, 2016 at 7:46 PM, Shilpa Velamuri <shilpa.vel at gmail.com> wrote:
> Is there a runtime debug flag that can be turned on to see log messages from
> 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.
More information about the libqmi-devel