Skip to content

drivers: modem_cellular: use AT+QGMR to fetch FW version on BG95 #93068

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

petrosyan-van
Copy link
Contributor

Quectel BG95/96 returns only the base model string to AT+CGMR, while AT+QGMR provides the true firmware build ID, e.g.

AT+CGMR → BG95M3LAR02A03
AT+QGMR → BG95M3LAR02A03_01.204.01.204

Replace CGMR with QGMR in the BG95 init scripts so cellular_get_modem_info(... FW_VERSION ...) reports the complete version string.

uart:~$ modem at AT+CGMR
BG95M3LAR02A03
OK
uart:~$ modem at AT+QGMR
BG95M3LAR02A03_01.204.01.204
OK

Tested on custom board with BG95

Quectel BG9x returns only the base model string to AT+CGMR, while
AT+QGMR provides the true firmware build ID, e.g.

  AT+CGMR  → BG95M3LAR02A03
  AT+QGMR  → BG95M3LAR02A03_01.204.01.204

Replace CGMR with QGMR in the BG95 init script so that
cellular_get_modem_info(... FW_VERSION ...) reports the complete
version string.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
Copy link

@petrosyan-van petrosyan-van marked this pull request as ready for review July 13, 2025 13:17
@github-actions github-actions bot added size: XS A PR changing only a single line of code area: Modem Drivers labels Jul 13, 2025
@github-actions github-actions bot requested a review from rerickson1 July 13, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Modem Drivers size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants