Source code of so library of C source in legato-src/legeato/apps/tools/cm

  1. it uses API to do so, please see the program flow here:
    legato-af/cm_data.c at master · legatoproject/legato-af · GitHub

2.please see here on what API it is using:

  1. do you mean you have another MCU host to connect to module, and the MCU needs to have data establishment? If yes, you can use AT!SCACT or QMI SDK to connect data establishment by USB GobiNet interface.

  2. you can get some information by AT+CGDCONT?

jyijyi

Thank you very much.
However I’m sorry.

We would like to design on Native Linux without using the API.
Therefore, we are considering replacing the cm command.

Could you answer the question other than checking the API?

do you mean you have another MCU host to connect to module, and the MCU needs to have data establishment?

No,I don’t have another MCU.
WP will be used as a Smart Module.
However, we are considering an external MCU as a scalability in the future.

Then I don’t see there is other way for you to establish data connection other than using the legato API.