not able to receive any indications using libqmi on Linaro

Shilpa Velamuri shilpa.vel at gmail.com
Thu Dec 1 18:46:22 UTC 2016


Hi,

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.

Thank You.

On Wed, Nov 30, 2016 at 9:42 AM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> Hey,
>
> Try this:
>
> On Tue, Nov 29, 2016 at 4:30 AM, Shilpa Velamuri <shilpa.vel at gmail.com>
> wrote:
> > Code is :
> > init():
> >     pthread_create(&mthread, NULL, InitializeDevice, this);
> >
> >  InitializeDevice():
>
>  context = g_main_context_new ();
>  mainloop = g_main_loop_new (context, FALSE);
>  g_main_context_push_thread_default (context);
>  qmi_device_new (....);
>  g_main_loop_run (mainloop);
>
> If you have issues after this, please send a working example we can
> compile and test :)
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20161201/59b25d0d/attachment.html>


More information about the libqmi-devel mailing list