I simply want to connect to gprs through my code.
I am able to connect to gprs using terminal command "cm data connect &" and it is connecting to interface "rmnet0".
But my requirement is to connect to internet at starting of my project execution through code (using some api ).
I am going to use socket programming to send and receive data to particular destination
so, only challenge for me to connect to gprs
which api does the work of terminal command "cm data connect &" in legato.
and also the sequence of apis to be use so as to connect to internet.
Please guide me in this regards as my work get stuck to it.