Why does the QMI link state becomes “down” on performing a ping test (even in idle case), even when the data connection is up?
I have forced the link state to “true” in QMIWDSEventResp function of the QMI.c. Now it does not receive link failure and the ping test works. This is not a right solution as it will never detect real link failure.
Why does the QMIWDSEventResp API incorrectly reads the link state down? How do I fix this?
6,1729,6618560000,-;GobiNet::GobiNetDriverRxFixup(0)
6,1730,6618560000,-;GobiNet::GobiNetDriverRxFixup(0) RX From Device:
6,1731,6618560000,-;GobiNet::PrintHex(0) : 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 91 6F FB 0A 00 42 F4 B8 7E 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1732,6618560000,-;GobiNet::PrintHex(0) : 32 74 20 4C 53 08 00 00 00 00 00 00 08 00 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 91 6F FB 0A 00 42 F4 B8 7E 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1733,6618780000,-;GobiNet::ProcessReadWorkFunction(953) ResubmitIntURB
6,1734,6618780000,-;GobiNet::ReadCallback(953) Read 77 bytes
6,1735,6618780000,-;GobiNet::PrintHex(953) : 01 4C 00 80 01 23 04 4B 00 01 00 40 00 1A 08 00 38 16 00 00 00 00 00 00 19 08 00 74 16 00 00 00 00 00 00 15 04 00 FF FF FF FF 14 04 00 FF FF FF FF 13 04 00 FF FF FF FF 12 04 00 FF FF FF FF 11 04 00 44 00 00 00 10 04 00 46 00 00 00
6,1736,6618780000,-;GobiNet::QMIWDSCallback(953) Net device link is connected
6,1737,6618780000,-;GobiNet::QMIWDSCallback(953) clientID :0x2301
6,1738,6619530000,-;GobiNet::GobiNetDriverTxFixup(2811)
6,1739,6619530000,-;GobiNet::GobiNetDriverTxFixup(2811) For sending to device modified:
6,1740,6619530000,-;GobiNet::PrintHex(2811) : 45 00 00 54 00 00 40 00 40 01 FC 31 64 62 CA 05 08 08 08 08 08 00 DA 04 FB 0A 00 43 94 22 8E 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1741,6619590000,-;GobiNet::GobiNetDriverRxFixup(0)
6,1742,6619590000,-;GobiNet::GobiNetDriverRxFixup(0) RX From Device:
6,1743,6619590000,-;GobiNet::PrintHex(0) : 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 E2 04 FB 0A 00 43 94 22 8E 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1744,6619590000,-;GobiNet::PrintHex(0) : 32 74 20 4C 53 08 00 00 00 00 00 00 08 00 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 E2 04 FB 0A 00 43 94 22 8E 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1745,6619790000,-;GobiNet::ProcessReadWorkFunction(953) ResubmitIntURB
6,1746,6619790000,-;GobiNet::ReadCallback(953) Read 77 bytes
6,1747,6619790000,-;GobiNet::PrintHex(953) : 01 4C 00 80 01 23 04 4C 00 01 00 40 00 1A 08 00 8C 16 00 00 00 00 00 00 19 08 00 C8 16 00 00 00 00 00 00 15 04 00 FF FF FF FF 14 04 00 FF FF FF FF 13 04 00 FF FF FF FF 12 04 00 FF FF FF FF 11 04 00 45 00 00 00 10 04 00 47 00 00 00
6,1748,6619790000,-;GobiNet::QMIWDSCallback(953) Net device link is connected
6,1749,6619790000,-;GobiNet::QMIWDSCallback(953) clientID :0x2301
6,1750,6620540000,-;GobiNet::GobiNetDriverTxFixup(2811)
6,1751,6620540000,-;GobiNet::GobiNetDriverTxFixup(2811) For sending to device modified:
6,1752,6620540000,-;GobiNet::PrintHex(2811) : 45 00 00 54 00 00 40 00 40 01 FC 31 64 62 CA 05 08 08 08 08 08 00 36 9A FB 0A 00 44 28 8C 9D 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1753,6620610000,-;GobiNet::GobiNetDriverRxFixup(0)
6,1754,6620610000,-;GobiNet::GobiNetDriverRxFixup(0) RX From Device:
6,1755,6620610000,-;GobiNet::PrintHex(0) : 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 3E 9A FB 0A 00 44 28 8C 9D 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1756,6620610000,-;GobiNet::PrintHex(0) : 32 74 20 4C 53 08 00 00 00 00 00 00 08 00 45 00 00 54 00 00 00 00 71 01 0B 32 08 08 08 08 64 62 CA 05 00 00 3E 9A FB 0A 00 44 28 8C 9D 8A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
6,1757,6620670000,-;GobiNet::ProcessReadWorkFunction(953) ResubmitIntURB
6,1758,6620670000,-;GobiNet::ReadCallback(953) Read 34 bytes
6,1759,6620670000,-;GobiNet::PrintHex(953) : 01 21 00 80 01 24 04 0A 00 22 00 15 00 01 02 00 01 00 10 02 00 02 00 11 04 00 03 00 D0 07 12 01 00 06
6,1760,6620670000,-;GobiNet::QMIWDSCallback(953) Net device link is disconnected
6,1761,6620670000,-;GobiNet::QMIWDSCallback(953) clientID :0x2401
6,1762,6620780000,-;GobiNet::ProcessReadWorkFunction(953) ResubmitIntURB
6,1763,6620780000,-;GobiNet::ReadCallback(953) Read 77 bytes
6,1764,6620780000,-;GobiNet::PrintHex(953) : 01 4C 00 80 01 23 04 4D 00 01 00 40 00 1A 08 00 E0 16 00 00 00 00 00 00 19 08 00 1C 17 00 00 00 00 00 00 15 04 00 FF FF FF FF 14 04 00 FF FF FF FF 13 04 00 FF FF FF FF 12 04 00 FF FF FF FF 11 04 00 46 00 00 00 10 04 00 48 00 00 00
6,1765,6620780000,-;GobiNet::QMIWDSCallback(953) Net device link is disconnected
6,1766,6620780000,-;GobiNet::QMIWDSCallback(953) clientID :0x2301
at!gstatus?
!GSTATUS:
Current Time: 8827 Temperature: 35
Reset Counter: 7 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B4 LTE bw: 20 MHz
LTE Rx chan: 2100 LTE Tx chan: 20100
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: Full Srv IMS mode: Normal
PCC RxM RSSI: -73 RSRP (dBm): -100
PCC RxD RSSI: -73 RSRP (dBm): -100
Tx Power: – TAC: 2F02 (12034)
RSRQ (dB): -6.9 Cell ID: 054C8E20 (88903200)
SINR (dB): 12.2
at+cgcontrdp
+CGCONTRDP: 1,5,ims,38.0.16.18.17.20.168.234.197.177.237.35.176.91.153.140, 254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.1, 32.1.72.136.0.101.255.0.6.46.0.13.0.0.0.0, 32.1.72.136.0.100.255.0.6.32.0.13.0.0.0.0,32.1.72.136.0.5.113.58.0.224.1.4.0.0.0.120,32.1.72.136.0.5.113.58.0.224.1.4.0.0.1.32
+CGCONTRDP: 3,6,vzwinternet,100.98.202.5,38.0.16.18.177.36.252.13.0.0.0.42.35.31.98.1,0.255.101.0 254.128.0.0.0.0.0.0.0.0.0.42.35.31.98.64,198.224.171.135 32.1.72.136.0.101.255.0.6.46.0.13.0.0.0.0,198.224.169.135 32.1.72.136.0.100.255.0.6.32.0.13.0.0.0.0
OK
at!scact?
!SCACT: 1,0
!SCACT: 2,0
!SCACT: 3,1
!SCACT: 4,0
!SCACT: 5,0
!SCACT: 6,0
OK
at+cpin?
+CPIN: READY
OK