iamromulan / quectel-rgmii-toolkit

Quectel module RGMII toolkit
Other
40 stars 22 forks source link

5G NR-SA Bandwidth Values Not Parsed #4

Closed danry25 closed 3 months ago

danry25 commented 4 months ago

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

iamromulan commented 4 months ago

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 😁

jpda commented 4 months ago

@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.

dr-dolomite commented 3 months ago

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

dr-dolomite commented 3 months ago

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

iamromulan commented 3 months ago

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

CLOSED