MC7430 network automatically disconnect

dailijin dailijin126 at 126.com
Thu Jun 22 03:19:58 UTC 2017


The modem firmware information as below:


# ./com_at /dev/ttyUSB3 ATI
ATI
Manufacturer: Sierra Wireless, Incorporated
Model: MC7430
Revision: SWI9X30C_02.23.00.00 r6843 CARMD-EV-FRMWR2 2016/10/22 08:55:04
MEID: 35907406021077
IMEI: 359074060210772
IMEI SV:  8
FSN: LU651440790210
+GCAP: +CGSM
OK




--

Best Regards,
Dai,Lijin

At 2017-06-22 11:13:45, "dailijin" <dailijin126 at 126.com> wrote:

Hi Guys,


I encounter a strange issue.  at the beginning, the modem can normally registered and get IP successfully. but after several seconds, the network will automatically disconnect. this issue is random case. but I have observed this issue many times.


I have tested two libqmi version : 1.10.2 and 1.18.0, the issue still exist. when network disconnect. I checked the modem status as below. my kernel version is 4.4.0.


Is there someone also encounter this issue and how to fix it?


# ./com_at /dev/ttyUSB6 'AT!GSTATUS?'
AT!GSTATUS?
!GSTATUS: 
Current Time:  227Temperature: 34
Reset Counter: 9Mode:        ONLINE         
System mode:   LTE        PS state:    Attached     
LTE band:      B3     LTE bw:      15 MHz  
LTE Rx chan:   1825LTE Tx chan: 19825
LTE CA state:  NOT ASSIGNED
EMM state:     Registered     Normal Service 
RRC state:     RRC Idle       
IMS reg state: No Srv  


PCC RxM RSSI:  -55RSRP (dBm):  -84
PCC RxD RSSI:  -95RSRP (dBm):  -134
Tx Power:      0TAC:         5A17 (23063)
RSRQ (dB):     -10.4Cell ID:     05A32F35 (94580533)
SINR (dB):      3.0
OK


# qmi-network  /dev/cdc-wdm5 status
Profile at '/etc/qmi-network.conf' not found...
Getting status with 'qmicli -d /dev/cdc-wdm5 --wds-get-packet-service-status  '...
[22 Jun 2017, 03:10:00] -Warning ** [/dev/cdc-wdm5] requested auto mode but no MBIM QMUX support available
Status: disconnected


sometimes the qmi-network check network status as below:


# qmi-network  /dev/cdc-wdm3 status 
Profile at '/etc/qmi-network.conf' not found...
Getting status with 'qmicli -d /dev/cdc-wdm3 --wds-get-packet-service-status  '...
[22 Jun 2017, 03:11:01] -Warning ** [/dev/cdc-wdm3] requested auto mode but no MBIM QMUX support available
error: couldn't create client for the 'wds' service: CID allocation failed in the CTL client: Service mismatch (requested 'wds', got 'dms')
error: couldn't get packet service status


# qmicli -d /dev/cdc-wdm3 --wds-get-packet-service-status
[22 Jun 2017, 03:11:11] -Warning ** [/dev/cdc-wdm3] requested auto mode but no MBIM QMUX support available
error: couldn't create client for the 'wds' service: CID allocation failed in the CTL client: Service mismatch (requested 'wds', got 'dms')
[/opt/tvu/TVUTransporter root at tvupack]
[root at tvupack]# qmicli -d /dev/cdc-wdm3 --wds-get-packet-service-status -v
[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] Opening device with flags 'auto'...
[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] loaded driver of cdc-wdm port: qmi_wwan
[22 Jun 2017, 03:11:14] -Warning ** [/dev/cdc-wdm3] requested auto mode but no MBIM QMUX support available
[22 Jun 2017, 03:11:14] [Debug] QMI Device at '/dev/cdc-wdm3' ready
[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] Assuming service 'wds' is supported...
[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] Allocating new client ID...
[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01


[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] sent generic request (translated)...
<<<<<< QMUX:
<<<<<<   length  = 15
<<<<<<   flags   = 0x00
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 4
<<<<<<   message     = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Service" (0x01)
<<<<<<   length     = 1
<<<<<<   value      = 01
<<<<<<   translated = wds


[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] received message...
<<<<<< RAW:
<<<<<<   length = 24
<<<<<<   data   = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:12


[22 Jun 2017, 03:11:14] [Debug] [/dev/cdc-wdm3] received generic response (translated)...
<<<<<< QMUX:
<<<<<<   length  = 23
<<<<<<   flags   = 0x80
<<<<<<   service = "ctl"
<<<<<<   client  = 0
<<<<<< QMI:
<<<<<<   flags       = "response"
<<<<<<   transaction = 1
<<<<<<   tlv_length  = 12
<<<<<<   message     = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<<   type       = "Result" (0x02)
<<<<<<   length     = 4
<<<<<<   value      = 00:00:00:00
<<<<<<   translated = SUCCESS
<<<<<< TLV:
<<<<<<   type       = "Allocation Info" (0x01)
<<<<<<   length     = 2
<<<<<<   value      = 02:12
<<<<<<   translated = [ service = 'dms' cid = '18' ]


error: couldn't create client for the 'wds' service: CID allocation failed in the CTL client: Service mismatch (requested 'wds', got 'dms')





--

Best Regards,
Dai,Lijin




 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170622/0cd59331/attachment-0001.html>


More information about the libqmi-devel mailing list