Thanks for this clarification - may help me a lot
I will leave timeout by side then.
How would one make sure then, that, in my example, the GGA sentence has been generated in the GPS module?
Should I make a loop, timed, let's say at least 2 seconds, watch for the "$GPGGA" string anf flag it (yes/no)? But this will not work since the "WAIT" will make the program stop here!!!
In fact, my problem is, my module after being left peacefully in the drawer for more than a week returns to its default settings. Unfortunately, the RMC sentence is not generated in the module by default so I need to activate it. I've noticed, I sometimes need to generate the activation commande several times before the module will accept it. This is why I need to check if the particular sentence is activated.





Bookmarks