<div dir="ltr"><div><div><div><div><div><div>Hi Dan,<br></div>Thanks for reply.<br></div>Yes I am able to see the ppp0 interface up and IP address.<br></div>Since as per requirement in between in need to check the data service status.<br>
</div>for that I use to query the device for connection status for other GSM models.<br></div>Similarly I am finding alternate for CDMA device also.<br></div><div>Regards,<br></div><div>David<br></div><div><br></div><div>
<div><div> <br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 22, 2014 at 9:48 PM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2014-01-22 at 17:24 +0530, david preetham wrote:<br>
> Hi,<br>
> On modem interface i am able to connect the service provider using AT<br>
> commands,<br>
> I have requirement to know the status of PDP (connected or disconnected).<br>
> Is their any AT commands to know the status? I don't have spec for AT<br>
> commands.<br>
> I tried to print AT commands supported AT&V no command helpful.<br>
><br>
> I tried AT+CREG, AT+CGACT,AT+CGATT this commands are not supported.<br>
> Is their anyway to know the pdp context status<br>
<br>
</div></div>This is a CDMA device and thus it likely doesn't support most of the<br>
3GPP AT commands.  Which also means it does not have PDP contexts at<br>
all, since that's a 3GPP-only thing.  These modules support the IS-707<br>
command set for CDMA devices, but that does not have any useful<br>
commands.<br>
<br>
Instead, you're stuck using QCDM/DIAG, which is a binary protocol that<br>
older Qualcomm chips often support.  However, we haven't<br>
reverse-engineered any of the QCDM commands that would indicate data<br>
service status.<br>
<br>
Since this device uses PPP though, couldn't you use the existence of a<br>
PPP session on the host to determine whether or not the modem has an<br>
active data connection?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
</font></span></blockquote></div><br></div>