[GH-ISSUE #51] Telit LN940 incorrect data #37

Closed
opened 2026-03-04 11:57:58 +03:00 by kerem · 9 comments
Owner

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:

"imei":"AT+GSN xxxxxxxxxxxxxxxx",
"imsi":"AT+CIMI xxxxxxxxxxxxxxxx",
"iccid":"",

Thank you

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: ``` "imei":"AT+GSN xxxxxxxxxxxxxxxx", "imsi":"AT+CIMI xxxxxxxxxxxxxxxx", "iccid":"", ``` Thank you
kerem closed this issue 2026-03-04 11:57:58 +03:00
Author
Owner

@jfrogg commented on GitHub (Sep 26, 2023):

SIM info and band fixed, "LTE | " is still missing in Technology.
1bc71900.zip

<!-- gh-comment-id:1736134579 --> @jfrogg commented on GitHub (Sep 26, 2023): SIM info and band fixed, "LTE | " is still missing in Technology. [1bc71900.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12731125/1bc71900.zip)
Author
Owner

@4IceG commented on GitHub (Sep 27, 2023):

hi @jfrogg ,
Replace this file and see if "LTE/LTE-A" will be visible.

1bc71900_LTEFix.zip

<!-- gh-comment-id:1736771155 --> @4IceG commented on GitHub (Sep 27, 2023): hi @jfrogg , Replace this file and see if "LTE/LTE-A" will be visible. [1bc71900_LTEFix.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12735120/1bc71900_LTEFix.zip)
Author
Owner

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

<!-- gh-comment-id:1737016525 --> @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)".
Author
Owner

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

<!-- gh-comment-id:1737034657 --> @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.
Author
Owner

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

<!-- gh-comment-id:1737041833 --> @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.
Author
Owner

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

<!-- gh-comment-id:1737058318 --> @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.
Author
Owner

@jfrogg commented on GitHub (Sep 27, 2023):

Here it is:

# sms_tool -d /dev/ttyUSB2 at "AT^CA_INFO?"
AT^CA_INFO?
PCC info: Band is LTE_B3, Band_width is 15.0 MHz

# sms_tool -d /dev/ttyUSB2 at "AT^CA_INFO?"
AT^CA_INFO?
PCC info: Band is LTE_B3, Band_width is 15.0 MHz
SCC1 info: Band is LTE_B1, Band_width is 10.0 MHz

Today I had more time than yesterday, so below is fixed and slightly optimised version.
1bc71900.zip

<!-- gh-comment-id:1737238381 --> @jfrogg commented on GitHub (Sep 27, 2023): Here it is: ``` # sms_tool -d /dev/ttyUSB2 at "AT^CA_INFO?" AT^CA_INFO? PCC info: Band is LTE_B3, Band_width is 15.0 MHz # sms_tool -d /dev/ttyUSB2 at "AT^CA_INFO?" AT^CA_INFO? PCC info: Band is LTE_B3, Band_width is 15.0 MHz SCC1 info: Band is LTE_B1, Band_width is 10.0 MHz ``` Today I had more time than yesterday, so below is fixed and slightly optimised version. [1bc71900.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12738161/1bc71900.zip)
Author
Owner

@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)"

<!-- gh-comment-id:1737380928 --> @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)"`
Author
Owner

@jfrogg commented on GitHub (Sep 27, 2023):

That works, thank you. I tried to stay close to the original )
1bc71900.zip

<!-- gh-comment-id:1737500161 --> @jfrogg commented on GitHub (Sep 27, 2023): That works, thank you. I tried to stay close to the original ) [1bc71900.zip](https://github.com/4IceG/luci-app-3ginfo-lite/files/12772686/1bc71900.zip)
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/luci-app-3ginfo-lite#37
No description provided.