4IceG / luci-app-3ginfo-lite

Graphic visualization of the mPCI-E / M.2 and USB 3G / LTE / LTE-A / 5G modem connection status. (LuCI JS) | OpenWrt >= 21.02
107 stars 43 forks source link

No operator info on Fibocom FM350-GL at 1.0.67-20240421 version #73

Closed prusa-dev closed 7 months ago

prusa-dev commented 7 months ago

Hi, @4IceG Operator's info disappeared in version 1.0.67-20240421. image

In my MR, I have changed the AT+COPS command response parsing according to how the modem responds. This change is suitable for all modems. But in version 1.0.67-20240421, I see that you have canceled this change. Therefore, the operator's name disappeared.

Here is FM350-GL response:

AT+COPS=3,0;+COPS?;+COPS=3,2;+COPS?
+COPS:0,0,"MTS RUS",7

+COPS:0,2,"25001",7

OK

As you can see, there is no space between +COPS: and 0. Therefore, I changed the regex and added \s?

4IceG commented 7 months ago

Hi @prusa-dev , Ok, I understand that my changes overwrote your modifications. I'll fix it later today.

4IceG commented 7 months ago

It should be OK now.

prusa-dev commented 7 months ago

Hi, @4IceG Thank you. Now everything is fine.

image