PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-21-2011, 08:43 AM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question [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
Reply With Quote
  #2 (permalink)  
Old 02-21-2011, 05:48 PM
Counterfeit's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2 - RHOD400
Carrier: Sprint - SERO500
Location: Missouri
 
Join Date: Jun 2010
Posts: 108
Reputation: 120
Counterfeit is keeping up the good workCounterfeit is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
__________________

+

= <3
Reply With Quote
  #3 (permalink)  
Old 02-21-2011, 08:40 PM
muziling's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2(RHOD400)
Carrier: CDMA
Threadstarter
 
Join Date: Nov 2010
Posts: 175
Reputation: 55
muziling is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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"
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:03 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com