在RIL_REQUEST_DEACTIVATE_DATA_CALL 处理函数时,发AT+CGACT=0,可以断网
但会有错误提示,而且之后再也无法拨号了~~~
以下是正常的杀进程,断网log
I/pppd ( 666): Serial connection established.
D/pppd ( 666): using channel 1
I/pppd ( 666): Using interface ppp0
I/pppd ( 666): Connect: ppp0 <--> /dev/gsmtty2
D/pppd ( 666): No auth is possible
I/pppd ( 666): local IP address 10.117.36.137
I/pppd ( 666): remote IP address 192.168.254.254
I/pppd ( 666): primary DNS address 211.138.151.161
I/pppd ( 666): secondary DNS address 211.138.156.66
I/pppd ( 666): Terminating on signal 15
I/pppd ( 666): Connect time 1900311.4 minutes.
I/pppd ( 666): Sent 2169 bytes, received 825 bytes.
I/pppd ( 666): Connection terminated.
I/pppd ( 666): Serial link disconnected.
I/pppd ( 754): pppd exited with 5