Skip to content

app: Rename AT#XGPS to AT#XGNSS#7

Merged
juhaylinen merged 1 commit into
nrfconnect:mainfrom
juhaylinen:rename_xgps_to_xgnss
Oct 9, 2025
Merged

app: Rename AT#XGPS to AT#XGNSS#7
juhaylinen merged 1 commit into
nrfconnect:mainfrom
juhaylinen:rename_xgps_to_xgnss

Conversation

@juhaylinen
Copy link
Copy Markdown
Contributor

Jira: SLM-127

Copilot AI review requested due to automatic review settings September 25, 2025 07:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames the AT command from AT#XGPS to AT#XGNSS to better reflect that it controls GNSS (Global Navigation Satellite System) functionality rather than just GPS specifically.

  • Updates AT command names from #XGPS/#XGPSDEL to #XGNSS/#XGNSSDEL
  • Updates documentation and code comments to reflect the new naming convention
  • Updates response messages and examples throughout documentation

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
doc/app/Generic_AT_commands.rst Updates command list example to show AT#XGNSS instead of AT#XGPS
doc/app/GNSS_AT_commands.rst Comprehensive update of all documentation examples, syntax descriptions, and command references from GPS to GNSS naming
app/src/gnss/sm_at_gnss.c Updates AT command registration, response messages, and code comments to use GNSS naming convention

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@trantanen trantanen requested review from a team and tokangas September 25, 2025 11:40
Copy link
Copy Markdown
Collaborator

@trantanen trantanen left a comment

Choose a reason for hiding this comment

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

Let's add migration guide entry.
The guide doesn't exist yet so I'm holding the PR from being merged with this comment for now. I will let you know when you can add an entry there.

@trantanen
Copy link
Copy Markdown
Collaborator

@moksanen, @jvaliharju
When this is merged, the tests will break until you do same renaming in the tests.

Copy link
Copy Markdown
Contributor

@tokangas tokangas 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 to me, only a few suggestions for consistency.

I couldn't add a comment on line 780, but this comment could be updated as well (GPS -> GNSS):

An old value might otherwise remain from a previous GPS run.

Comment thread app/src/gnss/sm_at_gnss.c Outdated
Comment thread app/src/gnss/sm_at_gnss.c Outdated
Comment thread app/src/gnss/sm_at_gnss.c Outdated
@juhaylinen juhaylinen force-pushed the rename_xgps_to_xgnss branch 2 times, most recently from a9e9fa6 to 2e5cd6f Compare September 26, 2025 11:34
@trantanen
Copy link
Copy Markdown
Collaborator

Let's add migration guide entry. The guide doesn't exist yet so I'm holding the PR from being merged with this comment for now. I will let you know when you can add an entry there.

Base for the migration guide has been now added (doc/app/sm_migration.rst) so you can create an entry there for this change.

Rename AT commands and update documentation.
Add entry to the migration guide.

Jira: SLM-127

Signed-off-by: Juha Ylinen <juha.ylinen@nordicsemi.no>
@juhaylinen juhaylinen force-pushed the rename_xgps_to_xgnss branch from 2e5cd6f to 40812e1 Compare October 8, 2025 12:31
@MarkusLassila
Copy link
Copy Markdown
Contributor

@juhaylinen Do you have merge rights for this? You should have them.

@juhaylinen
Copy link
Copy Markdown
Contributor Author

@juhaylinen Do you have merge rights for this? You should have them.

Yes, I can merge this. Should I press the button?

@MarkusLassila
Copy link
Copy Markdown
Contributor

@juhaylinen Do you have merge rights for this? You should have them.

Yes, I can merge this. Should I press the button?

Yes.

@juhaylinen juhaylinen merged commit c76039b into nrfconnect:main Oct 9, 2025
2 checks passed
@juhaylinen juhaylinen deleted the rename_xgps_to_xgnss branch October 9, 2025 07:12
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.

5 participants