<p dir="ltr">Thank you for your quick response. </p>
<p dir="ltr">It appears from the qmi prints, that no indications are being sent. I only req/rsp to device open etc. API calls.</p>
<p dir="ltr">Although, app has successfully registered for NAS srv-sys indications and also connected to signal : serving-system.</p>
<p dir="ltr">Do I need to do anything else to receive indications?</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Dec 1, 2016 1:53 PM, "Aleksander Morgado" <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>> wrote:<br type="attribution"><blockquote class="m_-118882682808752466quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-118882682808752466quoted-text">On Thu, Dec 1, 2016 at 7:46 PM, Shilpa Velamuri <<a href="mailto:shilpa.vel@gmail.com" target="_blank">shilpa.vel@gmail.com</a>> wrote:<br>
> Is there a runtime debug flag that can be turned on to see log messages from<br>
> libqmi to see if it is sending out any indications.<br>
<br>
</div>Yes:<br>
// Set default handler for all libqmi log messages<br>
g_log_set_handler ("Qmi", G_LOG_LEVEL_MASK, log_handler, NULL);<br>
// And enable traces so that sent/received messages are printed<br>
qmi_utils_set_traces_enabled (TRUE);<br>
<br>
The log_handler method is a GLogFunc:<br>
<a href="https://developer.gnome.org/glib/stable/glib-Message-Logging.html#GLogFunc" rel="noreferrer" target="_blank">https://developer.gnome.org/gl<wbr>ib/stable/glib-Message-Logging<wbr>.html#GLogFunc</a><br>
<br>
You can see an example in libqmi sources under src/qmicli/qmicli.c.<br>
<font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></blockquote></div><br></div>