u-blox / XPLR-HPG-software

Apache License 2.0
12 stars 2 forks source link

Example 02_hpg_gnss_lband_correction - configuration without Wi-Fi #4

Closed ftesta-es closed 10 months ago

ftesta-es commented 11 months ago

Hi,

how is it possible to configure the example project without Wi-Fi connection? Is it possible to embed all the needed information in the code?

Otherwise, would it be possible to require just the Wi-Fi at startup and then disconnecting the WiFi (without powering off the board) for outdoor testing?

Thanks.

aangeletos commented 11 months ago

Hello @ftesta-es,

It is not possible to utilize the LBAND examples without a connection to Thingstream since the keys are encrypted and there is no way to hardcode them in the firmware. Please bare in mind that keys have a validity period as well and they need to get updated when they expire.
Currently the examples provided in the repo they require a steady connection to Thingstream's MQTT Point Perfect broker to function as expected. We can add your suggestion to our backlog and we might provide an example behaving the way you describe in a future release but I cannot commit to that.
Our effort and goal is to provide some examples and libraries to get you started with the XPLR-HPG kits.
Examples are not meant to be used as end-applications but rather than a starting point for the users/developers to build their use case.

Best, Alex

ftesta-es commented 11 months ago

Hi,

thanks for the feedback and the clarification about this example project.

So, is there no chance to use/load on the D9S and F9R modules the configuration file downloadable from the thingstream portal? Would they be overwritten on the startup and self-configuration of the NINA?

Thanks

dbou-ublox commented 11 months ago

Hi @ftesta-es ,

I tried your proposed setup, which in theory should work

I used the vanilla https://github.com/u-blox/XPLR-HPG-software/tree/main/XPLR-HPG-SW/examples/shortrange/05_hpg_wifi_mqtt_correction_captive_portal example to do that (pre-built binaries available in the repo)

I found out that it is feasible (Although today, for some reason, I could not get RTK-Fixed easily. Could be related to fires in Athens or so, do not know). See log below:

At 16:52:16, connected to Wi-Fi, RTK-fixed image

At 16:52:46, I power off the Access Point the DUT is connected to: image

At 16:57, I still get RTK-fixed: image

Of course, if I power-cycle the DUT (or when the credentials expire), I suspect I would not get correction data any more

Hope this helps a bit, Dimitris

dbou-ublox commented 11 months ago

image

P.S. Took me some time to write the previous post it seems :)