Skip to content

v3.0.8 - add dedicated RTCM buffer #18

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

Merged
merged 3 commits into from
Apr 20, 2023
Merged

v3.0.8 - add dedicated RTCM buffer #18

merged 3 commits into from
Apr 20, 2023

Conversation

PaulZC
Copy link
Collaborator

@PaulZC PaulZC commented Apr 20, 2023

This release:

  • Adds a dedicated buffer for RTCM messages
    • If the GNSS is connected via SPI, you can not use processRTCM to pass the incoming RTCM characters to another SPI device (e.g. Ethernet) as checkUblox could still be part way through a multi-byte SPI transaction
    • The solution is to create a buffer for RTCM messages using setRTCMBufferSize. Any RTCM messages processed by the library will be placed into the RTCM buffer if enough space is available
    • Only whole, checksum-checked messages are added. You don't need to perform any additional checksum-checking on the data you read from the buffer. You can push it straight to your NTRIP Server
    • rtcmBufferAvailable returns the number of bytes waiting in the buffer. extractRTCMBufferData extracts bytes
    • You can clear the buffer with clearRTCMBuffer and check its size (capacity) with getRTCMBufferSize

@PaulZC PaulZC merged commit 6c6764e into main Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant