1

I'm heading with problem of determine if set PDP context is ready. I thought that it will be enough to check CGREG to determine the status, but it only returns GPRS registration state.

Also CGACT will return 1 if context is active, and I'm just interested if APN and user are valid OR if network/SIM/modem accepted my settings. I assume cgact=1 will return errors if something is not valid, but I don't want to do that and I want to pass the responsibility for connection to the RAS.

I want to check it before I will give the control over the connection to Windows RAS.

h__
  • 761
  • 3
  • 12
  • 41
  • Maybe I am just being thick, but I don't understand why you don't want to use +CGACT? – user1725145 Apr 04 '14 at 09:47
  • Because I will open context - I don't want to do that on serial interface, I want that RAS using internal mechanism will handle setting up the Internet connection. To use it in such way I have to connect, then disconnect and I still don't know if I have or not to wait for some time to pass it to handle it by RAS. – h__ Apr 04 '14 at 10:29

0 Answers0