-
Notifications
You must be signed in to change notification settings - Fork 107
added UBX_CFG_SMGR configuration support #211
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
Conversation
In particular, no UBX-TIM-SMEAS messages - that's why I started figuring out the SMGR protocol. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
examples/Example33_TimeFreqSyncManager/Example33_TimeFreqSyncManager.ino
Show resolved
Hide resolved
examples/Example33_TimeFreqSyncManager/Example33_TimeFreqSyncManager.ino
Outdated
Show resolved
Hide resolved
Hi Danylo (@dizcza ), UBX-TIM-SMEAS is almost certainly disabled by default. You will need to enable it with CFG-MSG, or via u-center. I hope this helps, |
How to do this? I guess I need to simply call
but I cannot come up with a value for |
I think I managed to output TIM-SMEA but I get garbage on my Serial:
Is this because I pipe raw bytes to serial?
|
The LEA-M8F doesn't support the Configuration Interface. You will need to enable the message manually using The message is UBX binary format. It will contain unprintable characters. You could use a logic analyzer to view the bytes as HEX. Or write a very simple binary to HEX converter and run it on another board? |
Or - even better - close the serial monitor / terminal emulator and open u-center instead. It will be able to decode the UBX messages and display them correctly. |
This one-liner looks much simpler.
I'm on Ubuntu, I doubt the u-center supports Linux. Even if it does, I eventually need to be able to parse these messages on an ESP32 board via I2C. Looks like I need to extend the |
All right, it was quite a change. Now the example outputs TIM-SMEA messages:
|
I added only one way to pass user callbacks, |
Hi Danylo (@dizcza ), I am sorry - I let your Pull Request go stale...! The problem is that I do not have a LEA-M8F board to test it on. I will try to get one. Best wishes, |
All right. It seems there are not a lot of those who actually use LEA-M8F anyway, in particular, the precise timing feature setup. |
Thank you Danylo (@dizcza ), Merged for testing... Best wishes, |
I still don't have hardware to test this on. But your code looks good, and compiles OK. I'm happy to merge this into main. I will merge #238 at the same time - as soon as the missing semicolons are added?! ;-) |
Glad that it has finally completed its voyage. |
Sketch output:
I don't see any UBX messages from my device (they are set to echo on Serial) even though PPS is flashing and I have a fix (tried setting
minGNSSFix
to 1). Any clue?