Then what is the problem to use atd*99 on usb AT command port?
There is no problem with ATD, but after that I should need pppd to go online.
You can try use ppd after sending atd*99 command
I tried it, now I am not sure which port of pppd /dev/
We think WP should have two ways to access the Internet, one is ATD+pppd, and the other is to set up a route through the Internet.
This is not related to module, you should use the port generated in your host pc.
Is WP Internet related to host PC? Cm data connect is doing what, let WP go online
This is totally different case, cm data is for yhe yocto linux of WP module to go online, atd*99 is for letting host pc to go online.
Thank you for your answer, your explanation is too important. If this is the case, our previous understanding is wrong. Is there any other way to get WP’s yocto linux online?
You can try the legato sample modemdemo, not sure if it suits your requirement
The API provided by legato is ok, but I don’t want to use the API or cm provided by Legato.
Do you understand the Legato source code, what does the lower layer of “cm data connect” do, I don’t understand the Legato source code.
I guess some source code is not opened, but you can see the legato framework source code.
Your requirement is a bit strange but you can give a try to dial up on /dev/ttyAT, not sure if this works or not.
ttyAT is not working, we have tried. We want to use other ways to get WP online instead of relying on the Legato framework.
How about hardware wiring uart1 and uart2, and setting one port to be AT command port and another to be data mode, after that try dialing up from the uart.
Thank you, ok, let me try
Thank you for your recent help, contact the vendor, they don’t recommend using other methods, and say cm data connect is not public in the source code. They said they can try the wvdial tool, but I found that wvdial is used in the no legato framework, so I think it is unlikely to succeed, but we are porting wvdial to WP, thank you again for your help.