This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

"Mashing" smartphone GSP and Arduino sensor data
#4
Sorry once again for the late reply. (I am beginning to wonder if this thread is cursed. I am subscribed to this thread, but I cannot find an email notification anywhere...)

I do not see the issue immediately, but if I understand you correctly, the problem is only that the GPS data is not plotted while the latest values are shown. Could you post the entire XML file? It could be the configuration of the graph. I mean, since you are receiving the BLE data and the current GPS data is shown, I suspect that either mismatching data containers are used for x and y or that - if there is also an analysis block - the data is removed in the analysis process.

About the things you tried:
1+2. As you are getting a location, everything should be there for plotting
3. That should not make a difference. Internally, the same parser is used and the same classes are initialized with the result - it is just different methods to load the XML from different locations. If it loads it should be the same.
4. That's just for cleaner code. On microcontrollers that do not need it, it is just an empty function call.
5. There are indeed some cases when the app has not been "destroyed" by the system and you open the same file from the same location, it might just come to the foreground instead of reloading it. Returning to the main menu should make sure that it is reloaded next time, though. (If you are unsure if a new file arrives, just change a letter in the title Smile)

So, please post the entire XML and I can test it on a phone here.

(Also, I set myself a reminder to check this thread regularly. Wondering if the email notifications are having a problem...)
Reply


Messages In This Thread
RE: "Mashing" smartphone GSP and Arduino sensor data - by Sebastian Staacks - 05-29-2026, 02:54 PM

Forum Jump: