Skip to content
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

Updates for GNSS API assistance usage #106

Merged
merged 13 commits into from
Aug 24, 2023

Conversation

tokangas
Copy link
Collaborator

This PR updates GNSS API usage for multi-constellation assistance support.

Currently, the functionality remains as it was, i.e. only GPS assistance is used. QZSS assistance support with nRF Cloud will still be added into this PR.

@tokangas
Copy link
Collaborator Author

@lemrey This PR touches many components, but I'm not able to add reviewers. Would be nice to get reviews from some code owners as well.

lib/location/method_gnss.c Outdated Show resolved Hide resolved
@lemrey
Copy link
Owner

lemrey commented Jun 16, 2023

@tokangas could you try to add reviewers now?

include/modem/location.h Show resolved Hide resolved
samples/nrf9160/gnss/src/assistance.c Outdated Show resolved Hide resolved
samples/nrf9160/gnss/src/assistance.c Outdated Show resolved Hide resolved
@tokangas
Copy link
Collaborator Author

I'll continue with this after my summer vacation. I have been working on adding support for QZSS assistance with nRF Cloud, but there are some things which need to be clarified with the cloud side.

@tokangas tokangas force-pushed the qzss_assistance_support branch 2 times, most recently from 50a8597 to 0a1c70d Compare August 7, 2023 07:59
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
@tokangas
Copy link
Collaborator Author

tokangas commented Aug 9, 2023

The PR is now ready for review. Also QZSS assistance support is included.

Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Updated because of GNSS API assistance changes.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Copy link
Collaborator

@MarkusLassila MarkusLassila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from SLM perspective. We will run our GNSS test against the main PR.

@tokangas: Any opinion whether we should add additional AT-command support to SLM for the QZSS satellites?

lib/location/method_gnss.c Outdated Show resolved Hide resolved
subsys/net/lib/nrf_cloud/src/nrf_cloud_agps.c Show resolved Hide resolved
subsys/net/lib/nrf_cloud/src/nrf_cloud_agps.c Outdated Show resolved Hide resolved
subsys/net/lib/nrf_cloud/src/nrf_cloud_agps.c Show resolved Hide resolved
subsys/net/lib/nrf_cloud/src/nrf_cloud_agps.c Outdated Show resolved Hide resolved
@tokangas
Copy link
Collaborator Author

Any opinion whether we should add additional AT-command support to SLM for the QZSS satellites?

@MarkusLassila There are only a few QZSS related options in the API, and those have been present already earlier.

  • nrf_modem_gnss_signal_mask_set() Can be used to disable QZSS support.
  • nrf_modem_gnss_qzss_nmea_mode_set() By default, QZSS satellites are not reported in NMEA sentences because the NMEA version we use does not include QZSS. By enabling QZSS NMEA custom mode, QZSS satellites are reported in NMEA using IDs 193...202, but that may be incompatible with some applications. I'm not sure if SLM even uses NMEA, so this may not be relevant.
  • nrf_modem_gnss_qzss_prn_mask_set() Can be used to set a bitmask to enable only specific QZSS satellites.

I think that's all. Probably there's no need to have AT commands for those in SLM, I think.

Implemented support for QZSS assistance.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Implemented support for QZSS assistance.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Added support for QZSS assistance.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
Added support for QZSS assistance.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
@lemrey lemrey merged commit c6d1dfc into lemrey:libmodem Aug 24, 2023
@tokangas tokangas deleted the qzss_assistance_support branch August 24, 2023 10:48
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.

6 participants