Use Linux (ie qmicli ) instead of qlril for bringing the system online

HI,

I am able to bring the modem online using included qlril-api-test executable, but this does not help us at all.

We need an access to AT commands and rmnet interfaces directly, to be able to quickly re-use our existing software we use with other modems. There is no way, to control modem now, even just re-using qlril-api-test, because it waits for user input.

Please advise. Is there a serial port available for AT commands we can use, and run a specific command, which simulates ril command 70 (setupDataCall)?

Thank you!

You forgot to provide details about your modem.
Show the output of cat /sys/kernel/debug/usb/devices

There is nothing in
cat /sys/kernel/debug/usb/devices

But I can connect and use internet using:
qlril-api-test, picking command 71, and then d

I am on the devboard, default image, using SC206E-EM

It does not support qmicli.
SC206E-EM is the Quectel Smart module.
The qmicli is used in the USB host side.
The qlril-api-test is the example that use the Quectel API to set up data call inside the modem.

Uh, this means we will need to re-write a portion of our software, which is now built around Linux way of connecting.

I am looking at this now, but It is not clear where to start. Obvious way is, to add some .c code to thte same place as the qlril-api-test is being built, but I am sure there should be a normal way, where I can make a new independent C project just for this, or call it from Python or Java over JNI?

I am thinking now to use networ-manager.ini to make it auto-connect and not bother with the modem at all. But this does not seem to be standard NetwrokManager tool, and I cannot find any documentatio anywhere on what is the syntax of that file. I would like to make it autoconnect if it can. THen we do not need to do anything else there.

It is just an example to show the customer how the device can set up data call. Quectel must provide the API level to support the data connection.
I am not sure we can run the Java on SC206E, but as I know you can run Python and you can call the Quectel API in Python/C program.

Yes maybe the inside NetworkManager is not the same with Ubuntu PC.