|
发表于 2024-3-15 14:31:46
只看该作者
6#
本帖最后由 hzjs 于 2024-3-15 14:37 编辑
在"设置-网络和互联网-移动网络-高级-接入点名称"中重新删除新建cmnet接入点,仍然是cmwap可以cmnet不行。唯一变化是mnc,sim卡的IMSI是460022105183107,是46002开头的因此mnc=“02”(实际上我想修改为“07”也改不了,保存了无效,仍然是“02”),然后在apns-conf.xml查了下也是有02的配置的。从logcat日志里能看到明显的区别,但是图片和附件不知为何我换了2个浏览器也传不上来,能否留个邮箱或qq电话联系方式?
我的联系方式:ycf@hzjs.com,qq微信同号5295277,电话13957121119
<apn carrier="中国移动 (China Mobile) GPRS"
carrier_id = "1435"
mcc="460"
mnc="02"
apn="cmnet"
type="default,supl"
/>
日志大致区别如下:
cmwap有个ConnectivityService会打印获取的IP信息
03-15 14:03:22.526 466 716 D ConnectivityService: registerNetworkAgent NetworkAgentInfo{ ni{[type: MOBILE[], state: UNKNOWN/IDLE, reason: (unspecified), extra: cmwap, failover: false, available: true, roaming: false]} network{102} nethandle{441492361229} lp{{InterfaceName: wwan0 LinkAddresses: [ 10.190.67.58/20 ] DnsAddresses: [ /211.140.11.66,/211.140.188.188 ] Domains: null MTU: 1500 TcpBufferSizes: 2097152,6291456,16777216,512000,2097152,8388608 Routes: [ 0.0.0.0/0 -> 10.190.67.57 wwan0 mtu 1500,10.190.64.0/20 -> 0.0.0.0 wwan0 mtu 0 ] HttpProxy: [10.0.0.172] 80}} nc{[ Transports: CELLULAR Capabilities: SUPL&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=60000Kbps LinkDnBandwidth>=145000Kbps Specifier: <TelephonyNetworkSpecifier [mSubId = 1]> AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null]} Score{10} everValidated{false} lastValidated{false}
cmnet的ConnectivityService打印信息很少:
03-15 14:03:54.669 846 972 D TelephonyProvider: subIdString = 1 subId = 1
03-15 14:03:54.719 466 554 D ConnectivityService: [102 CELLULAR] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
03-15 14:03:54.719 466 554 D ConnectivityService: [102 CELLULAR] disconnected, was satisfying 13
另外几分钟后有个报错
03-15 14:04:00.001 466 536 V AlarmManager: setImplLocked type=3 ,when=8796427
03-15 14:04:00.011 618 618 D KeyguardClockSwitch: Updating clock: 下午2:04
03-15 14:04:04.850 846 972 D TelephonyProvider: subIdString = 1 subId = 1
03-15 14:03:54.850 0 0 I : [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
03-15 14:04:28.988 0 0 W healthd : battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
03-15 14:04:04.882 846 972 I chatty : uid=1001(radio) Thread-2 identical 1 li
|
|