log 如下:先发了联网命令,后面立马发了断网命令。求大神指教!!
 ===>>[Send AT cmd][15] AT+ZGACT=1,1
 : <<====[Recv AT cmd][15] OK
 : processLine entry: process line: OK
 :   It's  final response end ok
 : processLine exit
 : ===>>[Send AT cmd][15] AT+CGCONTRDP=1
 : <<====[Recv AT cmd][15] +ZCONSTAT: 1,1
 : processLine entry: process line: +ZCONSTAT: 1,1
 :   handleLinebyStype
 :  intermediate SINGLELINE: line:+ZCONSTAT: 1,1, prefix:+CGCONTRDP
 : <<====[Recv AT cmd][15] +CGCONTRDP: 1,5,"cmnet.mnc000.mcc460.gprs","10.220.105.71.255.0.0.0",,"221.179.38.7","120.196.165.7",,: processLine entry: process line: +CGCONTRDP: 1,5,"cmnet.mnc000.mcc460.gprs","10.220.105.71.255.0.0.0",,"221.179.38.7","120.196.165.7",,:   handleLinebyStype:  intermediate SINGLELINE: line:+CGCONTRDP: 1,5,"cmnet.mnc000.mcc460.gprs","10.220.105.71.255.0.0.0",,"221.179.38.7","120.196.165.7",,, prefix:+CGCONTRDP: <<====[Recv AT cmd][15] OK
: setPdpContextLocalStatus:.:4,10.220.105.71,strlen:14: PdpContext[1]:-1;cmnet.mnc000.mcc460.gprs;active:1;IP eth1:10.220.105.71;gw:10.220.105.72;dnses:221.179.38.7 120.196.165.7;: syncPdpContext:successful: configureInterface: eth1:10.220.105.71: needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: [0074]< SETUP_DATA_CALL DataCallState: {version=7 status=0 retry=0 cid=1 active=1 type=IP' ifname='eth1' addresses=[10.220.105.71] dnses=[221.179.38.7,120.196.165.7] gateways=[10.220.105.72]}: [GsmDC-1] DcActivatingState msg.what=EVENT_SETUP_DATA_CONNECTION_DONE: [GsmDC-1] onSetupConnectionCompleted received DataCallState: DataCallState: {version=7 status=0 retry=0 cid=1 active=1 type=IP' ifname='eth1' addresses=[10.220.105.71] dnses=[221.179.38.7,120.196.165.7] gateways=[10.220.105.72]}: addr/pl=10.220.105.71/32: [GsmDC-1] updateLinkProperty old LP=LinkAddresses: [] Routes: [] DnsAddresses: [] : [GsmDC-1] updateLinkProperty new LP=InterfaceName: eth1 LinkAddresses: [10.220.105.71/32,] Routes: [0.0.0.0/0 -> 10.220.105.72,] DnsAddresses: [221.179.38.7,120.196.165.7,] : [GsmDC-1] DcActivatingState onSetupConnectionCompleted result=SUCCESS  SetupResult.mFailCause=NONE: [GsmDC-1] notifyConnectionCompleted at 1451628526418 cause=NONE: [GsmDCT] handleMessage msg={ what=270336 when=0 arg1=1 obj=android.os.AsyncResult@4196cb40 }: [GsmDCT] isDataSetupCompleteOk return true: [GsmDCT] onDataSetupComplete: success apn=cmnet: [GsmDCT] notifyDefaultData: type=default, reason:simLoaded: [ApnContext:default] setState: CONNECTED, previous state:INITING: [GsmDCT] return link properites for default: [GsmDCT] get active pdp is not null, return link Capabilities for default: [GsmDCT] isDataPossible(default): possible=true isDataAllowed=true apnTypePossible=true apnContextisEnabled=true apnContextState()=CONNECTED: [GsmDCT] get active apn string for type:default: <<====[Recv AT cmd][15] +CSQ: 134,99,17: processLine entry: process line: +CSQ: 134,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 134,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK
: xichunyan:enter changeCSQdbmToLevel Csq=-107: needContinueProcess, request = 75 sState = 4 : [0075]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 3 -107 -1 2147483647 -1 cdma: needContinueProcess, request = 75 sState = 4 : [0076]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: GENERIC_FAILURE: [0077]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: GENERIC_FAILURE: [0078]> SIGNAL_STRENGTH:  onRequest: request = 19 SIGNAL_STRENGTH, token:0x413c0e70: needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: readChannel entry,channelID:0: <<====[Recv AT cmd][15] +CSQ: 132,99,17: processLine entry: process line: +CSQ: 132,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 132,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK: processLine entry: process line: OK: xichunyan:enter changeCSQdbmToLevel Csq=-109: [0078]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 2 -109 -1 2147483647 -1 cdma: [0079]> REQUEST_GET_NEIGHBORING_CELL_IDS:  onRequest: request = 75 GET_NEIGHBORING_CELL_IDS, token:0x413c0e70: needContinueProcess, request = 75 sState = 4 : [0079]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: GENERIC_FAILURE: [0080]> SIGNAL_STRENGTH:  onRequest: request = 19 SIGNAL_STRENGTH, token:0x413c0e70: needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: <<====[Recv AT cmd][15] +CSQ: 135,99,17: processLine entry: process line: +CSQ: 135,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 135,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK: processLine entry: process line: OK: xichunyan:enter changeCSQdbmToLevel Csq=-106: [0080]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 3 -106 -1 2147483647 -1 cdma: [GsmDCT] onReceive: action=com.android.internal.telephony.gprs-data-stall: [GsmDCT] handleMessage msg={ what=270353 when=0 arg1=10760 obj=com.android.internal.telephony.gprs-data-stall }: [GsmDCT] updateDataStallInfo: OUT sent=60 mSentSinceLastRecv=60: [GsmDCT] onDataStallAlarm: tag=10760 do recovery action=0: [GsmDCT] handleMessage msg={ what=270354 when=-1ms }: [GsmDCT] overall state is CONNECTED: [GsmDCT] doRecovery() get data call list: [0081]> DATA_CALL_LIST:  onRequest: request = 57 DATA_CALL_LIST, token:0x413c0e70: needContinueProcess, request = 57 sState = 4 : getPdpContextNum: 1 : [0081]< DATA_CALL_LIST error: com.android.internal.telephony.CommandException: GENERIC_FAILURE: [GsmDCT] handleMessage msg={ what=270340 when=-13ms obj=android.os.AsyncResult@418e5530 }: [GsmDCT] onDataStateChanged(ar): E: [GsmDCT] onDataStateChanged(ar): exception; likely radio not available, ignore: [0082]> SIGNAL_STRENGTH:  onRequest: request = 19 SIGNAL_STRENGTH, token:0x413c0e70: needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: <<====[Recv AT cmd][15] +CSQ: 134,99,17: processLine entry: process line: +CSQ: 134,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 134,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK: processLine entry: process line: OK: xichunyan:enter changeCSQdbmToLevel Csq=-107: [0082]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 3 -107 -1 2147483647 -1 cdma: [GsmDCT] handleMessage msg={ what=270368 when=-1ms arg1=1 }: [GsmDCT] handleMessage msg={ what=270368 when=0 arg1=1 }: [0083]> SIGNAL_STRENGTH:  onRequest: request = 19 SIGNAL_STRENGTH, token:0x413c0e70): needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: <<====[Recv AT cmd][15] +CSQ: 134,99,17: processLine entry: process line: +CSQ: 134,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 134,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK: processLine entry: process line: OK: xichunyan:enter changeCSQdbmToLevel Csq=-107: [0083]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 3 -107 -1 2147483647 -1 cdma: [0084]> REQUEST_GET_NEIGHBORING_CELL_IDS:  onRequest: request = 75 GET_NEIGHBORING_CELL_IDS, token:0x413c0e70: needContinueProcess, request = 75 sState = 4 : [0084]< REQUEST_GET_NEIGHBORING_CELL_IDS error: com.android.internal.telephony.CommandException: GENERIC_FAILURE: [0085]> SIGNAL_STRENGTH:  onRequest: request = 19 SIGNAL_STRENGTH, token:0x413c0e70): needContinueProcess, request = 19 sState = 4 : at_send_command_sync entry: ===>>[Send AT cmd][15] AT+CSQ: <<====[Recv AT cmd][15] +CSQ: 134,99,17: processLine entry: process line: +CSQ: 134,99,17:   handleLinebyStype:  intermediate SINGLELINE: line:+CSQ: 134,99,17, prefix:+CSQ:: <<====[Recv AT cmd][15] OK: processLine entry: process line: OK: xichunyan:enter changeCSQdbmToLevel Csq=-107: [0085]< SIGNAL_STRENGTH SignalStrength: 0 99 0 0 0 0 0 3 -107 -1 2147483647 -1 cdma: [GsmDCT] onReceive: action=com.android.internal.telephony.gprs-data-stall: [GsmDCT] handleMessage msg={ what=270353 when=0 arg1=10761 obj=com.android.internal.telephony.gprs-data-stall }: [GsmDCT] updateDataStallInfo: OUT sent=55 mSentSinceLastRecv=115: [GsmDCT] onDataStallAlarm: tag=10761 do recovery action=1: [GsmDCT] handleMessage msg={ what=270354 when=-1ms }: [GsmDCT] overall state is CONNECTED: [GsmDCT] doRecovery() cleanup all connections: [GsmDCT] handleMessage msg={ what=270365 when=-6ms obj=pdpReset }: [GsmDCT] cleanUpAllConnections: tearDown=true reason=pdpReset
: [ApnContext:default] set reason as pdpReset,current state CONNECTED: [GsmDCT] cleanUpConnection: E tearDown=true reason=pdpReset apnContext={mApnType=default mState=CONNECTED mWaitingApns=[[ApnSettingV2] CMNET, 32, 46000, cmnet, , , , , , -1, default | sulp, IP, IP, true, 0] mWaitingApnsPermanentFailureCountDown=1 mApnSetting=[ApnSettingV2] CMNET, 32, 46000, cmnet, , , , , , -1, default | sulp, IP, IP, true, 0 mDataConnectionAc=GsmDC-1 mReason=pdpReset mRetryCount=0 mDataEnabled=true mDependencyMet=true}: [GsmDCT] cleanUpConnection: tearing down: [ApnContext:default] setState: DISCONNECTING, previous state:CONNECTED: [GsmDC-1] DcActiveState msg.what=EVENT_DISCONNECT RefCount=0: [GsmDC-1] tearDownData radio is on, call deactivateDataCall: [0086]> DEACTIVATE_DATA_CALL 1 2:  onRequest: request = 41 DEACTIVATE_DATA_CALL, token:0x413c51c0: needContinueProcess, request = 41 sState = 4 : ril_request_deactivate_data_call:  cid:=1: getCurNwMode =17: at_send_command_sync entry: ===>>[Send AT cmd][15] AT+ZGACT=0,1