not able to receive any indications using libqmi on Linaro

Aleksander Morgado aleksander at aleksander.es
Wed Nov 30 17:42:02 UTC 2016


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


More information about the libqmi-devel mailing list