<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Thank You.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 9:42 AM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
Try this:<br>
<span class=""><br>
On Tue, Nov 29, 2016 at 4:30 AM, Shilpa Velamuri <<a href="mailto:shilpa.vel@gmail.com">shilpa.vel@gmail.com</a>> wrote:<br>
> Code is :<br>
> init():<br>
> pthread_create(&mthread, NULL, InitializeDevice, this);<br>
><br>
> InitializeDevice():<br>
<br>
</span> context = g_main_context_new ();<br>
mainloop = g_main_loop_new (context, FALSE);<br>
g_main_context_push_thread_<wbr>default (context);<br>
qmi_device_new (....);<br>
g_main_loop_run (mainloop);<br>
<br>
If you have issues after this, please send a working example we can<br>
compile and test :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br></div>