[GH-ISSUE #4] 5G NR-SA Bandwidth Values Not Parsed #4

Closed
opened 2026-02-27 14:38:41 +03:00 by kerem · 5 comments
Owner

Originally created by @danry25 on GitHub (Feb 7, 2024).
Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/4

When connected to 5G-SA (5G Standalone), the Simple Admin bandwidth indicator is showing the increment between 0 and 14 then putting a Mhz tag on the end, but the value mappings (shown around page 97 in the AT Commands Manual ) show that 12 means that you are connected to a 100Mhz channel.

Looks like nr_bw is only called for NR-NSA (5G Nonstandalone) causing this value to not be parsed.

Screenshot from 2024-02-07 15-06-12

Originally created by @danry25 on GitHub (Feb 7, 2024). Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/4 When connected to 5G-SA (5G Standalone), the Simple Admin bandwidth indicator is showing the increment between 0 and 14 then putting a Mhz tag on the end, but the value mappings (shown around page 97 in the [AT Commands Manual](https://www.waveshare.com/w/upload/8/8a/Quectel_RG520N%26RG52xF%26RG530F%26RM520N%26RM530N_Series_AT_Commands_Manual_V1.0.0_Preliminary_20220812.pdf) ) show that 12 means that you are connected to a 100Mhz channel. Looks like [nr_bw is only called for NR-NSA](https://github.com/rbflurry/quectel-rgmii-simpleadmin/blob/main/scripts/modemstatus_parse.sh#L192) (5G Nonstandalone) causing this value to not be parsed. ![Screenshot from 2024-02-07 15-06-12](https://github.com/iamromulan/quectel-rgmii-toolkit/assets/1683673/3186d0ca-089c-4f4a-814b-e3e3879d686c)
kerem closed this issue 2026-02-27 14:38:41 +03:00
Author
Owner

@iamromulan commented on GitHub (Feb 8, 2024):

Seems so! Good catch!
Yep there are a few issues with it that were inherited from the original source (ROOTer)
The Unknown NR band in NSA every time is what was the most glaring for me. I will look at this a little closer and see what I can improve. In the meantime feel free to PR 😁

<!-- gh-comment-id:1933355085 --> @iamromulan commented on GitHub (Feb 8, 2024): Seems so! Good catch! Yep there are a few issues with it that were inherited from the original source (ROOTer) The Unknown NR band in NSA every time is what was the most glaring for me. I will look at this a little closer and see what I can improve. In the meantime feel free to PR 😁
Author
Owner

@jpda commented on GitHub (Feb 9, 2024):

@iamromulan I have been using your tools for a while, thank you for putting all of this together.

for what it's worth, I have a few scripts here https://github.com/jpda/local-bin/blob/main/openwrt (openwrt, openwrtps) that I used for parsing out qeng=servingcell and qcainfo. I was getting the AT response from the web interfaces of openwrt/rooter, but the parsing is pretty much the same regardless of the source.

<!-- gh-comment-id:1936505421 --> @jpda commented on GitHub (Feb 9, 2024): @iamromulan I have been using your tools for a while, thank you for putting all of this together. for what it's worth, I have a few scripts here https://github.com/jpda/local-bin/blob/main/openwrt (openwrt, openwrtps) that I used for parsing out qeng=servingcell and qcainfo. I was getting the AT response from the web interfaces of openwrt/rooter, but the parsing is pretty much the same regardless of the source.
Author
Owner

@dr-dolomite commented on GitHub (Mar 16, 2024):

I will try to look unto it since I already patched the bandwidth error for NSA NR bands.

<!-- gh-comment-id:2001503216 --> @dr-dolomite commented on GitHub (Mar 16, 2024): I will try to look unto it since I already patched the bandwidth error for NSA NR bands.
Author
Owner

@dr-dolomite commented on GitHub (Mar 16, 2024):

Update: missing function call for BW conversion. Fixed.
image

<!-- gh-comment-id:2001750203 --> @dr-dolomite commented on GitHub (Mar 16, 2024): Update: missing function call for BW conversion. Fixed. ![image](https://github.com/iamromulan/quectel-rgmii-toolkit/assets/73575327/e6a3ac60-12b5-49d6-80ff-abed7db7157b)
Author
Owner

@iamromulan commented on GitHub (Mar 16, 2024):

SOLVED
Well done! Thank you for your contribution! Approved and merged!
https://github.com/iamromulan/quectel-rgmii-toolkit/pull/9

CLOSED

<!-- gh-comment-id:2002100983 --> @iamromulan commented on GitHub (Mar 16, 2024): **SOLVED** Well done! Thank you for your contribution! Approved and merged! https://github.com/iamromulan/quectel-rgmii-toolkit/pull/9 **CLOSED**
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/quectel-rgmii-toolkit#4
No description provided.