mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #51] Telit LN940 incorrect data #37
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo-lite#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jfrogg on GitHub (Sep 25, 2023).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/51
Using Telit LN940 (1bc7:1900), but the same is applicable to 1bc7:1901, 03f0:0857, 03f0:0a57.
The app shows this:
"Technology B2 (1900 MHz)"
but it should be like this:
"Technology LTE | B3 (1800 MHz)"
"LTE | " is missing and "B2" comes from a typo here:
https://github.com/4IceG/luci-app-3ginfo-lite/blob/main/luci-app-3ginfo-lite/root/usr/share/3ginfo-lite/modem/1bc71900#L23
and also in 1bc71901, 03f00857, 03f00a57
SIM information also wrong/incomplete:
Thank you
@jfrogg commented on GitHub (Sep 26, 2023):
SIM info and band fixed, "LTE | " is still missing in Technology.
1bc71900.zip
@4IceG commented on GitHub (Sep 27, 2023):
hi @jfrogg ,
Replace this file and see if "LTE/LTE-A" will be visible.
1bc71900_LTEFix.zip
@jfrogg commented on GitHub (Sep 27, 2023):
Thank you, but it looks a bit weird now:
"LTE-A | -A | + B1 (2100 MHz)" appears initially and in a moment it gets replaced with "B3 (1800 MHz)".
@4IceG commented on GitHub (Sep 27, 2023):
Ok, so I added the MODE="LTE-A |" line unnecessarily, the problem was only with LTE itself. Delete this line from the file and it should be fine.
@jfrogg commented on GitHub (Sep 27, 2023):
Now it is either "B3 (1800 MHz) + B1 (2100 MHz)" or "B3 (1800 MHz)" without any indication of LTE or LTE-A.
@4IceG commented on GitHub (Sep 27, 2023):
Ok, show me the output of the AT^CA_INFO? command. I will correct the scripts in the evening.
@jfrogg commented on GitHub (Sep 27, 2023):
Here it is:
Today I had more time than yesterday, so below is fixed and slightly optimised version.
1bc71900.zip
@4IceG commented on GitHub (Sep 27, 2023):
I quickly checked @jfrogg your script and I would replace this line 21
MODE="$MODE | $(band $PC "LTE ")"for this version
MODE="LTE | $(band $PC)"@jfrogg commented on GitHub (Sep 27, 2023):
That works, thank you. I tried to stay close to the original )
1bc71900.zip