Problem about GNSS in thread

I have some problem about GNSS and Thread.
my function in main is can work but when i cut it and paste inside thread function, it can work.

Can you give me some example about position in a thread. tks so much!

Hi Sanjikool,

Can you try call le_gnss_ConnectService() at the beginning of the thread?

For more info:
https://docs.legato.io/latest/le__gnss__interface_8h.html#a3b352251c2764092c56f20592f5894ca

Hope it helps.
Thx

1 Like

Wow, tks you so much, it worked ^^