rmnet is not quite recommended for users
User should use MBIM interface
And what about the option or qcserial driver?
which one should we use?
you should use the MBPL USB driver:
Hi,
In this package the driver is “qmi_wwan.c” which is RmNet.
Please correct me if I am wrong.
Thanks
yes, but as suggested above, you should use MBIM interface
You suggeted to use the MBIM driver which is cdc_mbim.c.
But in the package you shared the driver files are qmi driver(RmNet).
cdc_mbim is generic driver from linux, it is not provided by Sierra
So you suggest to use qmi_wwan.c driver instead of cdc_mbim?
no, i suggest to use MBIM instead of rmet
Hi.
May I know, the official site provies the qmi_wwan driver but still why sierra recommends to use a generic driver?
as said before, the qmi_wwan provided is for module that is using RMNET in AT!USBCOMP.
If you don’t use RMNET in AT!USBCOMP, then you don’t need to care about that qmi_wwan
Okay.
Understood your point. Since my module supports mbim:
AT!USBCOMP?
Config Index: 1
Config Type: 4 (MBIM V2)
Interface bitmask: 00001009 (diag,modem,mbim)
I need to use this driver only along with qcserial
correct!
your linux should already support MBIM driver, so qcserial driver in MBPL can help to enumerate the USB serial port
Thanks for your support.
Also I am facing one more issue with the modem.
I run this command and my module connects and works properly.
mbim-network /dev/cdc-wdm0 start
But if due to some reason my connection breaks like out of range or low coverage area it is not recovered.
How can I recover my connection?
How can I identify if my connection is broke?
Thanks,
you can use “sudo mbim-network /dev/cdc-wdm0 stop” to stop the data channel and then set up the data channel again by “sudo mbim-network /dev/cdc-wdm0 start”.
to identify the connection is broken, you can first set up AT+CGREG=2 and then when there is network deregistration, you can see +CGREG unsolicited message.
BTW, can you open a new topic to discuss instead of using old topic thread?
Okay.
I will create new ticket.