办公室内同样测试环境下,不接入主线,板子每次启动都能拨号成功并且正常上网。但是接入主线板子第一次拨号总会失败。AT+CSQ查看接入主线信号前后为11和31。不清楚为什么信号强反而无法联网。
附上拨号异常时的打印信息
[07-24_02:05:59:712] Find /sys/bus/usb/devices/2-1 idVendor=0x2c7c idProduct=0x11
25, bus=0x002, dev=0x002
[07-24_02:05:59:713] Auto find qmichannel = /dev/cdc-wdm0
[07-24_02:05:59:713] Auto find usbnet_adapter = wwan0
[07-24_02:05:59:713] netcard driver = qmi_wwan, driver version = 5.10.160
[07-24_02:05:59:713] Modem works in QMI mode
[07-24_02:05:59:732] cdc_wdm_fd = 8
[07-24_02:05:59:827] Get clientWDS = 20
[07-24_02:05:59:857] Get clientDMS = 1
[07-24_02:05:59:889] Get clientNAS = 4
[07-24_02:05:59:921] Get clientUIM = 1
[07-24_02:05:59:953] Get clientWDA = 1
[07-24_02:05:59:986] requestBaseBandVersion EC20CEFAGR06A15M4G
[07-24_02:06:00:114] requestGetSIMStatus SIMStatus: SIM_READY
[07-24_02:06:00:146] requestGetProfile[1] ctnet///0/IPV4V6
[07-24_02:06:00:178] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, Datt
aCap: UNKNOW
[07-24_02:06:00:210] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-24_02:06:00:210] ifconfig wwan0 0.0.0.0
[07-24_02:06:00:218] ifconfig wwan0 down
[07-24_02:06:08:178] requestRegistrationState2 MCC: 460, MNC: 1, PS: Detached, DD
ataCap: UNKNOW
[07-24_02:06:11:890] requestRegistrationState2 MCC: 0, MNC: 0, PS: Detached, Datt
aCap: UNKNOW
[07-24_02:07:00:116] QmiWwanThread exit
[07-24_02:07:00:130] qmi_main exit
你好
你可以更换程手机SIM卡对比下,看下是否是SIM卡限制导致的问题
经后面测试,驱动起来后还需30s以上的注网耗时,导致之前默认延迟10s拨号失败。目前只能不断重新拨号直到成功的方式来避免,整体耗时要1分左右(额外耗时在dhcp失败,尝试打开raw_ip去了)。不清楚为什么注网耗时这么长
+QIND: PB DONE
AT+QENG=“servingcell”
+QENG: “servingcell”,“SEARCH”
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“SEARCH”
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“SEARCH”
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“SEARCH”
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“LIMSRV”,“LTE”,“FDD”,460,11,1B32F11,90,2452,5,3,3,1B3A,-61-
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“NOCONN”,“LTE”,“FDD”,460,11,1B32F11,90,2452,5,3,3,1B3A,-62-
OK
AT+QENG=“servingcell”
+QENG: “servingcell”,“NOCONN”,“LTE”,“FDD”,460,11,1B32F11,90,2452,5,3,3,1B3A,-61-