PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   [Q] can not change APN's mmc&mnc, what's disconnect cmd (http://forum.ppcgeeks.com/showthread.php?t=141113)

muziling 02-21-2011 08:43 AM

[Q] can not change APN's mmc&mnc, what's disconnect cmd
 
Two question:
Quote:

cdma connect command is:
err = at_send_command("AT+CFUN=1", NULL);
err = at_send_command("AT+HTC_DUN=0", NULL);
err = at_send_command("ATH", NULL);
err = at_send_command("ATDT#777", &p_response);

and disconect command is what ? I need this command to disconnect data.
Quote:

create an apn, defaut mmc=310, mnc=995, if I change this values, apn can not be saved success, and log output:
E/TelephonyProvider( 4581): Failed setting numeric '310995' to the current operator

Counterfeit 02-21-2011 05:48 PM

Re: [Q] can not change APN's mmc&mnc, what's disconnect cmd
 
Maybe someone else can answer your question but you may want to post a few things like your service provider and such. Why do you need to disconnect data? If you get your phone working like you'd like with Data/Voice then you can download Widgetsoid 2.x and make a widget that will let you disable/enable data as you please. If you want the APN settings (sometimes you have to turn the phone on/off wait a while for the APN to "catch" it seems)

PPCGeeks - View Single Post - Linux/Android on CDMA Touch Pro -- Now working on Verizon! And with GPS!

those are the ones for Sprint. This also enables sending of MMS.

muziling 02-21-2011 08:40 PM

Re: [Q] can not change APN's mmc&mnc, what's disconnect cmd
 
my carrier provider is china telecom, I need disconnect command because of "killall pppd" will cause phone reboot
"killall pppd" is an code in libhtcgeneric-ril.so, when disable data connect, system fork this code.
So I need disconnect command to replace "killall pppd"


All times are GMT -4. The time now is 07:10 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0