How do I use RC7120 in MBPL

Hi,

I found that there is no PID in MBPL usb source code.

In qcserial.c
I added
{USB_DEVICE(0x1199, 0x9114)},

In qmi_wwan.c
what should I add ?

{QMI_FIXED_INTF(0x1199, 0x9114, 8)},
or
{QMI_QUIRK_SET_DTR(0x1199, 0x9114, 8)},
or
{QMI_GOBI_DEVICE(0x1199, 0x9114)},

this module does not have RMNET, so not using qmi_wwan.c:


at!usbcomp=?
!USBCOMP:
AT!USBCOMP=<Config Index>,<Config Type>,<Interface bitmask>
<Config Index>      - configuration index to which the composition applies, should be 1
<Config Type>       - 1:Generic
                    - 2:Network Interface
<Interface bitmask> -
                00000001-Log DIAG
                00000008-AT (This interface cannot be disabled)
                00000010-AT_PPP
                00001000-RNDIS
                00002000-ECM

OK

You can try PPP dial-up by “AT!USBCOMP=1,1,19”

Hi @jyijyi ,

Thanks for your reply.

How do I connect to network?

Could I use rndis or ECM?

And what kind of AT port is it like ttyACM0~2 ?

do you have the AT port now? (e.g. /dev/ttyACM0 or /dev/ttyACM2)
you can use wvdial in linux for ppp dial up


[   38.915482] usb 3-2.1: Product: RC7120
[   38.915483] usb 3-2.1: Manufacturer: Sierra Wireless, Incorporated
[   38.915484] usb 3-2.1: SerialNumber: 359112220012345
[   39.326969] usbcore: registered new interface driver cdc_ether
[   39.391317] rndis_host 3-2.1:1.0 eth0: register 'rndis_host' at usb-0000:03:00.0-2.1, RNDIS device, 20:89:84:6a:96:ab
[   39.395386] cdc_acm 3-2.1:1.2: ttyACM0: USB ACM device
[   39.404353] cdc_acm 3-2.1:1.4: ttyACM1: USB ACM device
[   39.414947] cdc_acm 3-2.1:1.6: ttyACM2: USB ACM device
[   39.416828] usbcore: registered new interface driver cdc_acm

Hi @jyijyi ,

Yes I found the ttyACM0,

Could you give me a sample to connect network?

you can see this example:
PPP_example.docx (16.8 KB)

Hi @jyijyi ,

Thanks for your reply.

If I +cpin? got “CME error 303” what does it mean?

see here:

seems your SIM card has problem:


at+cpin?
+CPIN: READY

OK
ati3
Manufacturer: Sierra Wireless
Model: RC7120
Revision: SWI216C_01.02.08.00 2024/02/29 15:43:11
SVN: 01
IMEI: 359112220012345
FSN:
TS.25: 2024.01.01
+GCAP: +CGSM

OK

Hi @jyijyi ,

ati3
Manufacturer: Sierra Wireless
Model: RC7120
Revision: SWI216C_01.02.06.00 2023/12/08 15:29:19
SVN: 01
IMEI: 359112220002612
FSN: EU3516021503HC
TS.25: 2023.10.23
+GCAP: +CGSM

Should I update FW ?

i don’t know, you can try

Hi @jyijyi ,

Could I use mmcli to control RC7120 ?

Is mmcli using ppp dial up?

Hi @jyijyi ,

Yes, use ppp dial and got some module information .

Could I use mmcli to query and connect to network?

I never use mmcli, but if it uses ppp dial up, it should work as wvdial

This is 3rd party application, so probably you need to make some test

Hi @jyijyi ,

Thanks I will try it.