Skip to content

PointPerfect example using WIFI/IP/MQTT #103

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 4 commits into from
Jan 31, 2022

Conversation

mazgch
Copy link
Contributor

@mazgch mazgch commented Jan 31, 2022

Hi Nathan

This is a simple example demonstrating use of SSR corrections in SPARTN format from u-blox PointPerfect service. WiFi is used to connect to the server using MQTT protocol.

Recommended Hardware:
MicroMod GNSS Carrier Board: https://www.sparkfun.com/products/17722
ESP32 Micromod https://www.sparkfun.com/products/16781

Make sure the u-blox ZED-F9R GNSS receiver is running latest firmware (HPG 1.30)
https://www.u-blox.com/en/product/zed-f9p-module?lang=de#tab-documentation-resources

@PaulZC
Copy link
Collaborator

PaulZC commented Jan 31, 2022

Thank you Michael,

We will give this a quick test and then merge it into the library.

Very best wishes,
Paul & Nathan

@PaulZC PaulZC changed the base branch from main to release_candidate January 31, 2022 16:48
@PaulZC PaulZC merged commit 2f6767b into sparkfun:release_candidate Jan 31, 2022
@PaulZC
Copy link
Collaborator

PaulZC commented Feb 1, 2022

Hi Michael (@mazgch ),

This is a really nice example - thank you for submitting it.

I have it working, pushing PointPerfect SPARTN data to a ZED-F9R and I'm getting fixed carrier solutions very quickly.

I do see a small issue with the example. When I disconnect and then try to reconnect, I see error -2:

image

I think this is probably just an MqttClient or WiFiClientSecure stop then 'restart' sequencing issue? I will try and solve it - but I may have to pass it back to you.

Best wishes,
Paul

@mazgch mazgch deleted the mazgch-add-pointperfect branch February 1, 2022 20:24
@mazgch
Copy link
Contributor Author

mazgch commented Feb 1, 2022

I am not seeing your issue in my setup, maybe because I have a different account and PointPerfect plan. I have evolved a bit the current work on more examples. I will have some more PR to add support for NEO-D9S.

@PaulZC
Copy link
Collaborator

PaulZC commented Feb 6, 2022

Hi Michael,

The issue I'm seeing - error -2 when reconnecting to PointPerfect - is board package and compiler dependent.

I'm running your example on a SparkFun ESP32 Thing Plus - not MicroMod ESP32.

If I use the "SparkFun ESP32 Boards v1.0.1" (xtensa-esp32-elf-gcc 1.22.0-97-gc752ad5-5.2.0) then reconnecting works perfectly. If you are using MicroMod ESP32 then I think this is the same board package and compiler you are using?

But if I use the "Espressif Systems esp32 v2.0.2" (xtensa-esp32-elf-gcc gcc8_4_0-esp-2021r2) then I get error -2 when I try to reconnect.

OK. I am not going to worry about this. But we may see issues raised by other users who run into the same problem.

I am working on improvements to the library to support the NEO-D9S and UBX-RXM-PMP. I should have an example for you to test tomorrow. My plan is to release a new version of the library - including your PointPerfect example - in the next few days.

Best wishes,
Paul

@mazgch
Copy link
Contributor Author

mazgch commented Feb 6, 2022 via email

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.

2 participants