4IceG / luci-app-modemband

User interface for the modemband package. Program to set LTE/5G bands for selected 4G/5G modems. (LuCI JS) | OpenWrt >= 21.02
84 stars 29 forks source link

Support on Quectel RM500U-CNV #18

Closed flammable47 closed 6 months ago

flammable47 commented 6 months ago

Hello can it be possible to support the RM500U-CNV? here the data I got on my module, currently I'm using ZBT WG-1608 (16M) running OpenWrt 23.05.2.

exact name of modem and ew version number: Quectel RM500U-CNV Revision: RM500UCNVAAR03A02M2G

VID and PID identifier on the USB bus: Bus 002 Device 003: ID 2c7c:0900 Quectel RM500U-CNV

serial port used for communication with the modem ("diagnostic"): /dev/ttyUSB2

AT command to read the set bands together with an example result: AT+QNWPREFCFG=? +QNWPREFCFG: "mode_pref",AUTO:WCDMA:LTE:NR5G:NR5G-SA:NR5G-NSA +QNWPREFCFG: "gw_band",1:5:8 +QNWPREFCFG: "lte_band",1:3:5:8:34:38:39:40:41 +QNWPREFCFG: "nr5g_band",1:3:5:8:28:41:77:78:79 +QNWPREFCFG: "all_band_reset" +QNWPREFCFG: "srv_domain",(0-2) +QNWPREFCFG: "voice_domain",(0-3) +QNWPREFCFG: "ue_usage_setting",(0,1) +QNWPREFCFG: "roam_pref",(0-3)

an AT command to set specific bands AT+QNWPREFCFG="mode_pref",AUTO

a list of all bands that can be set on the modem: 5GNR NSA = n41, n78, n79 5GNR SA = n1, n2, n3, n5, n8, n28, n41, n77, n78, n79 LTE-FDD = B1, B3, B5, B8 LTE-TDD = B34, B38, B39, B40, B41 UMTS/WCDMA = B1, B5, B8

4IceG commented 6 months ago

Hi, @flammable47 Check if it works, I also added modem to 3ginfo-lite package (you can also test it).

modemband.zip 3ginfo-lite.zip

flammable47 commented 6 months ago

Hi, @flammable47 Check if it works, I also added modem to 3ginfo-lite package (you can also test it).

modemband.zip 3ginfo-lite.zip

Hello @4IceG I already check the package and it's works great..!! 3ginfo Modem band 5G NSA Modem band 5G SA Modem band LTE

4IceG commented 6 months ago

Hi, Unfortunately, it does not show all data and I do not know if it's the fault of the "ecm protocol" or if you modified the settings in modem. It should return the 5GNR NSA bands (they are completely missing from the settings), 3ginfo-lite does not show the data correctly either.

@flammable47 Can you restore modem to default settings and run it on the qmi/mbim protocol?

flammable47 commented 6 months ago

Hi, Unfortunately, it does not show all data and I do not know if it's the fault of the "ecm protocol" or if you modified the settings in modem. It should return the 5GNR NSA bands (they are completely missing from the settings), 3ginfo-lite does not show the data correctly either.

@flammable47 Can you restore modem to default settings and run it on the qmi/mbim protocol?

Hi @4IceG It's only supported in ECM protocol or it can be NDIS, RNDIS, NCM?

4IceG commented 6 months ago

OK, I understand, let's keep this "ecm".

@flammable47 Show command result: sms_tool -d /dev/ttyUSB2 at "at+qnwinfo;+qcainfo;+qeng=\"servingcell\";+qspn"

maybe we will find out why 3ginfo-lite does not show data.

flammable47 commented 6 months ago

OK, I understand, let's keep this "ecm".

@flammable47 Show command result: sms_tool -d /dev/ttyUSB2 at "at+qnwinfo;+qcainfo;+qeng=\"servingcell\";+qspn"

maybe we will find out why 3ginfo-lite does not show data.

Hi @4IceG here the result of the script image

4IceG commented 6 months ago

I don't know if it's OK now, unusual modem, strange AT commands.

3ginfo-lite.zip

Edit: I'm closing thread because the modemband works.