Hi Duncan,
Appreciate your quick response.
We are using only one command now as you have suggested.
we are going through the script provided by you.
Also, one thing we would to bring to your notice that we are configuring free RTOS in cyclone PPP.
Also we are using NXP IDE on windows as our host environment and application is running on NXP controller.
we have given all AT commands as mentioned in quectel-chat-connect(logs attached) Please let us know if we are missing anything in our understanding.
We are not getting any IPCP(NCP) packets or CHAP authentication packets from EC20 once LCP configuration is successful. If Authentication is enabled, EC20 is authenticator and application is supporting CHAP MD5 which EC20 is sending in LCP config packet. But, it is not sending any packet for challenge further.
If we skip authentication, EC20 is not sending any IPCP configuration packet when application is retrying to send IPCP configuration packets.
posting logs below for your reference.
Thank you .
Regards,
Madhuri
e[39me[32mINFO: [NET] Interface 3 RX(7) |
RDY
|
e[39me[31mINFO: [DMS] Initializing modem…
e[39me[31mINFO: [DMS]
AT command: AT
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(9) |AT
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(9) |AT
OK
|
e[39me[31mINFO: [DMS] AT response: ATOK
e[39me[31mINFO: [DMS]
AT command: AT+CGMR
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CGMR
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(37) |AT+CGMR
EC20CEHDLGR06A10M1G
OK
|
e[39me[32mINFO: [NET] Serial Data IF 2
e[39me[32mINFO: [NET] Serial Data IF 3
e[39me[32mINFO: [NET] Interface 3 RX(7) |
RDY
|
e[39me[31mINFO: [DMS] Initializing modem…
e[39me[31mINFO: [DMS]
AT command: AT
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(9) |AT
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(9) |AT
OK
|
e[39me[31mINFO: [DMS] AT response: ATOK
e[39me[31mINFO: [DMS]
AT command: ATE0
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |ATE0
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(11) |ATE0
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(11) |ATE0
OK
|
e[39me[31mINFO: [DMS] AT response: ATE0OK
e[39me[31mINFO: [DMS]
AT command: ATI
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |ATI
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(55) |
Quectel
EC20F
Revision: EC20CEHDLGR06A10M1G
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(55) |
Quectel
EC20F
Revision: EC20CEHDLGR06A10M1G
OK
|
e[39me[31mINFO: [DMS] AT response: QuectelEC20FRevision: EC20CEHDLGR06A10M1GOK
e[39me[31mINFO: [DMS]
AT command: AT+CSUB
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CSUB
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(25) |
SubEdition: V02
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(25) |
SubEdition: V02
OK
|
e[39me[31mINFO: [DMS] AT response: SubEdition: V02OK
e[39me[31mINFO: [DMS]
AT command: AT+CSQ
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CSQ
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(20) |
+CSQ: 2,99
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(20) |
+CSQ: 2,99
OK
|
e[39me[31mINFO: [DMS] AT response: +CSQ: 2,99OK
e[39me[32mINFO: [NET] Interface 3 RX(37) |AT+CGMR
EC20CEHDLGR06A10M1G
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CGMREC20CEHDLGR06A10M1GOK
e[39me[31mINFO: [DMS]
AT command: AT+CMEE=2
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CMEE=2
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(16) |AT+CMEE=2
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(16) |AT+CMEE=2
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CMEE=2OK
e[39me[31mINFO: [DMS]
AT command: AT+IFC=2,2
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+IFC=2,2
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(17) |AT+IFC=2,2
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(17) |AT+IFC=2,2
OK
|
e[39me[31mINFO: [DMS] AT response: AT+IFC=2,2OK
e[39me[31mINFO: [DMS]
AT command: AT+QCCID
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+QCCID
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(47) |AT+QCCID
+QCCID: 89916420534722027464
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(47) |AT+QCCID
+QCCID: 89916420534722027464
OK
|
e[39me[31mINFO: [DMS] AT response: AT+QCCID+QCCID: 89916420534722027464OK
e[39me[31mINFO: [DMS]
AT command: AT+CPIN?
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CPIN?
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(31) |AT+CPIN?
+CPIN: READY
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(31) |AT+CPIN?
+CPIN: READY
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CPIN?+CPIN: READYOK
e[39me[31mINFO: [DMS]
AT command: AT+CFUN=1
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CFUN=1
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(16) |AT+CFUN=1
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(16) |AT+CFUN=1
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CFUN=1OK
e[39me[31mINFO: [DMS]
AT command: AT+CEREG?
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CEREG?
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(31) |AT+CEREG?
+CEREG: 0,2
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CEREG?+CEREG: 0,2OK
e[39me[31mINFO: [DMS]
AT command: AT+CEREG?
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CEREG?
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(31) |AT+CEREG?
+CEREG: 0,1
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(31) |AT+CEREG?
+CEREG: 0,1
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CEREG?+CEREG: 0,1OK
e[39me[31mINFO: [DMS]
AT command: AT+QIACT=1
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+QIACT=1
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(17) |AT+QIACT=1
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(17) |AT+QIACT=1
OK
|
e[39me[31mINFO: [DMS] AT response: AT+QIACT=1OK
e[39me[31mINFO: [DMS]
AT command: AT+CIMI
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CIMI
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(33) |AT+CIMI
404100560978208
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(33) |AT+CIMI
404100560978208
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CIMI404100560978208OK
e[39me[31mINFO: [DMS] Modem initialization successful!
e[39me[31mINFO: [DMS]
AT command: AT+CGDCONT=1,“IP”,“AirtelInternet”,0,0
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |AT+CGDCONT=1,“IP”,“AirtelInternet”,0,0
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(46) |AT+CGDCONT=1,“IP”,“AirtelInternet”,0,0
OK
|
e[39me[32mINFO: [NET] Interface 3 RX(46) |AT+CGDCONT=1,“IP”,“AirtelInternet”,0,0
OK
|
e[39me[31mINFO: [DMS] AT response: AT+CGDCONT=1,“IP”,“AirtelInternet”,0,0OK
e[39me[31mINFO: [DMS]
AT command: ATD 99**1#
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |ATD 991#
|
e[39me[32mINFO: [NET] Interface usbPPPport RX(34) |ATD 991#
CONNECT 150000000
|
e[39me[32mINFO: [NET] Interface 3 RX(34) |ATD 99**1#
CONNECT 150000000
|
e[39me[31mINFO: [DMS] AT response: ATD 99**1#CONNECT 150000000
e[39me[31mINFO: [DMS] Establishing PPP connection…
e[39me[31mINFO: [DMS]
LCP Open event
e[39me[31mINFO: [DMS] PPP FSM: INITIAL (0) → STARTING (1)
e[39me[31mINFO: [DMS] LCP This-Layer-Started callback
e[39me[31mINFO: [DMS] LCP Initialize-Restart-Count callback
e[39me[31mINFO: [DMS] LCP Send-Configure-Request callback
e[39me[31mINFO: [DMS] Allocating 1536 bytes at 0x802722D8
e[39me[31mINFO: [DMS] Sending Configure-Request packet (18 bytes)…
e[39me[31mINFO: [DMS] Code = 1 (Configure-Request)
e[39me[31mINFO: [DMS] Identifier = 1
e[39me[31mINFO: [DMS] Length = 18
e[39me[31mINFO: [DMS] Maximum-Receive-Unit option (4 bytes)
e[39me[31mINFO: [DMS] 1500
e[39me[31mINFO: [DMS] Async-Control-Character-Map option (6 bytes)
e[39me[31mINFO: [DMS] 0x00000000
e[39me[31mINFO: [DMS] Protocol-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Address-and-Control-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Sending PPP frame (24 bytes)…
e[39me[31mINFO: [DMS] Protocol = 0xC021
e[39me[31mINFO: [DMS] Freeing memory at 0x802722D8
e[39me[31mINFO: [DMS] PPP FSM: STARTING (1) → REQ_SENT (6)
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |~ÿ}#À!}!}!} }2}!}$}%Ü}“}&} } } } }'}”}(}“ç3~|
e[39me[32mINFO: [NET] Interface usbPPPport RX(97) |~ÿ}#À!}!} } }9}”}&} } } } }#}%Â#}%}%}&Ø3j}‘}“}(}”«Dÿ}#À!}“}!} }2}!}$}%Ü}”}&} } } } }‘}"}(}“ß2~|
e[39me[32mINFO: [NET] Interface 3 RX(97) |~ÿ}#À!}!} } }9}”}&} } } } }#}%Â#}%}%}&Ø3j}’}“}(}”«Dÿ}#À!}“}!} }2}!}$}%Ü}”}&} } } } }’}“}(}“ß2~|
e[39me[31mINFO: [DMS] PPP frame received (2 bytes)…
e[39me[31mINFO: [DMS] Wrong FCS detected!
e[39me[31mINFO: [DMS] PPP frame received (31 bytes)…
e[39me[31mINFO: [DMS] LCP packet received (25 bytes)…
e[39me[31mINFO: [DMS] Code = 1 (Configure-Request)
e[39me[31mINFO: [DMS] Identifier = 0
e[39me[31mINFO: [DMS] Length = 25
e[39me[31mINFO: [DMS] Async-Control-Character-Map option (6 bytes)
e[39me[31mINFO: [DMS] 0x00000000
e[39me[31mINFO: [DMS] Authentication-Protocol option (5 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Magic-Number option (6 bytes)
e[39me[31mINFO: [DMS] 0xD833816A
e[39me[31mINFO: [DMS] Protocol-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Address-and-Control-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS]
LCP Receive-Configure-Request event
e[39me[31mINFO: [DMS] LCP Send-Configure-Ack callback
e[39me[31mINFO: [DMS] Allocating 1536 bytes at 0x802722D8
e[39me[31mINFO: [DMS] Sending Configure-Ack packet (25 bytes)…
e[39me[31mINFO: [DMS] Code = 2 (Configure-Ack)
e[39me[31mINFO: [DMS] Identifier = 0
e[39me[31mINFO: [DMS] Length = 25
e[39me[31mINFO: [DMS] Async-Control-Character-Map option (6 bytes)
e[39me[31mINFO: [DMS] 0x00000000
e[39me[31mINFO: [DMS] Authentication-Protocol option (5 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Magic-Number option (6 bytes)
e[39me[31mINFO: [DMS] 0xD833816A
e[39me[31mINFO: [DMS] Protocol-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Address-and-Control-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Sending PPP frame (31 bytes)…
e[39me[31mINFO: [DMS] Protocol = 0xC021
e[39me[31mINFO: [DMS] Freeing memory at 0x802722D8
e[39me[31mINFO: [DMS] PPP FSM: REQ_SENT (6) → ACK_SENT (8)
e[39me[31mINFO: [DMS] PPP frame received (24 bytes)…
e[39me[31mINFO: [DMS] LCP packet received (18 bytes)…
e[39me[31mINFO: [DMS] Code = 2 (Configure-Ack)
e[39me[31mINFO: [DMS] Identifier = 1
e[39me[31mINFO: [DMS] Length = 18
e[39me[31mINFO: [DMS] Maximum-Receive-Unit option (4 bytes)
e[39me[31mINFO: [DMS] 1500
e[39me[31mINFO: [DMS] Async-Control-Character-Map option (6 bytes)
e[39me[31mINFO: [DMS] 0x00000000
e[39me[31mINFO: [DMS] Protocol-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS] Address-and-Control-Field-Compression option (2 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS]
LCP Receive-Configure-Ack event
e[39me[31mINFO: [DMS] LCP Initialize-Restart-Count callback
e[39me[31mINFO: [DMS] PPP FSM: ACK_SENT (8) → OPENED (9)
e[39me[31mINFO: [DMS] LCP This-Layer-Up callback
e[39me[31mINFO: [DMS]
Starting CHAP authentication…
e[39me[32mINFO: [NET] PPP Serial Data TX(1024) |~ÿ}#À!}”} } }9}”}&} } } } }#}%Â#}%}%}&Ø3j}'}“}(}”&H~|
e[39me[32mINFO: [NET] Interface usbPPPport RX(62) |~ÿ}#À!}+}!} }(Ø3j#×Â#|
e[39me[32mINFO: [NET] Interface 3 RX(62) |~ÿ}#À!}+}!} }(Ø3j#×Â#|
e[39me[31mINFO: [DMS] PPP frame received (14 bytes)…
e[39me[31mINFO: [DMS] LCP packet received (8 bytes)…
e[39me[31mINFO: [DMS] Code = 11 (Discard-Request)
e[39me[31mINFO: [DMS] Identifier = 1
e[39me[31mINFO: [DMS] Length = 8
e[39me[31mINFO: [DMS] Magic-Number = 3627254122
e[39me[31mINFO: [DMS] Data (0 bytes)
e[39me[31mINFO: [DMS] TRACE_ARRAYe[39me[31mINFO: [DMS]
LCP Receive-Discard-Request event