-
Notifications
You must be signed in to change notification settings - Fork 104
Read data from UBX-NAV-ORB #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @JMyrng , |
Hi @PaulZC ,
Running this leads me to this error with debugging enabled:
The payload size is correct:
How can I increase the maximum buffer size? |
Hope nobody has read my wall of text. Inserting And a big +1 for such a great debugging tool!! |
Hi @JMyrng , SparkFun_u-blox_GNSS_Arduino_Library/src/SparkFun_u-blox_GNSS_Arduino_Library.cpp Lines 1607 to 1609 in 46c1855
The work-around is indeed to increase the packetCfg payload size to the same size as your custom packet. But this is wasteful in terms of RAM use because packetCfg is not actually being used, the incoming data is being written directly into the custom packet as it arrives. Please leave this issue open - it is a good reminder for me to fix the weakness! Very best wishes, Paul |
Indeed, yes, Example21 will throw the same error if the module returns more than 256 bytes of version information. |
Corrected in v2.0.10 - #55 |
Trying to read data from NAV-ORB
I´m using the M9N breakout board and want to know if enough ephemeris data is downloaded for a fast startup after a power down. UBX-NAV-ORB is described in the M9N Interface description in 3.15.7.
My workbench
Expected behavior
At the end, I want to be able to evaluate whether enough data has been downloaded to achieve a quick fix (after a power cut). To do this, I need to read the data from UBX-NAV-ORB. Or is there a better way?
Actual behavior
At the moment it is not possible to read out whether enough data has been downloaded for a hot/warm start or not.
The text was updated successfully, but these errors were encountered: