-
Notifications
You must be signed in to change notification settings - Fork 102
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
added UBX_CFG_SMGR configuration support #211
base: main
Are you sure you want to change the base?
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
src/u-blox_structs.h
Outdated
uint8_t minGNSSFix; /* Minimum number of GNSS fixes before we commit to use it as a source */ | ||
uint16_t maxFreqChangeRate; /* Maximum frequency change rate during disciplining. Must not exceed 30ppb/s*/ | ||
uint16_t maxPhaseCorrRate; /* Maximum phase correction rate in coherent time pulse mode. */ | ||
uint16_t reserved1; /* Reserved. Do not use */ |
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.
Strictly, this should be uint8_t [2]
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, |
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?