lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] PPPoS with Telit LE910 Modem


From: Patrick Klos
Subject: Re: [lwip-users] PPPoS with Telit LE910 Modem
Date: Tue, 29 May 2018 16:40:38 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 5/29/2018 2:00 PM, gzayzay wrote:
The following is what I printed of the above message in hex format.
0d 0a 43 4f 4e 4e 45 43 54 20 31 30 30 30 30 30 30 30 30 0d 0a 7e ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 25 c2 23 7d 25 7d 25 7d 26 45 36 dc 8c 7d 27 7d 22 7d 28 7d 22 cb a0 7e 7e ff 7d 23 c0 21 7d 21 7d 22 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 25 c2 23 7d 25 7d 25 7d 26 45 36 dc 8c 7d 27 7d 22 7d 28 7d 22 7d 27 4d 7e 7e ff 7d 23 c0 21 7d 21 7d 23 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 25 c2 23 7d 25 7d 25 7d 26 45 36 dc 8c 7d 27 7d 22 7d 28 7d 22 43 7d 36 7e 7e ff 7d 23 c0 21 7d 21 7d 24 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7e ff 7d 23 c0 21 7d 21 7d 32 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 25 c2 23 7d 25 7d 25 7d 26 45 36 dc 8c 7d 27 7d 22 7d 28 7d 22 7d 32 d1 7e 7e ff 7d 23 c0 21 7d 21 7d 33 7d 20 7d 39 7d 22 7d 26 7d 20 7d 20 7d 20 7d 20 7d 23 7d 25 c2 23 7d 25 7d 25 7d 26 45 36 dc 8c 7d 27 7d 22 7d 28 7d 22 56 8a 7e 0d 0a 4e 4f 20 43 41 52 52 49 45 52 0d 0a
The modem doesn't seem to be responding the messages sent from LWIP ppp stack. The sio_read() and sio_write() functions are called and after a while, I see timeout messages. I have attached a file containing some logs information. pppLogs.txt I am running FreeRTOS and a snippet of the code is as follows shown below. When the callback function is called, the error code is PPPERR_PROTOCOL (-8)

These are the bytes sent from the modem, correct?  I broke them down this way:

0000  ff 03 c0 21 01 01 00 19 02 06 00 00 00 00 03 05
0010  c2 23 05 05 06 45 36 dc 8c 07 02 08 02 cb a0
code=ConfReq(01) id=01 len=0019

0000  ff 03 c0 21 01 02 00 19 02 06 00 00 00 00 03 05
0010  c2 23 05 05 06 45 36 dc 8c 07 02 08 02 07 4d
code=ConfReq(01) id=02 len=0019

0000  ff 03 c0 21 01 03 00 19 02 06 00 00 00 00 03 05
0010  c2 23 05 05 06 45 36 dc 8c 07 02 08 02 43 16
code=ConfReq(01) id=03 len=0019

0000  ff 03 c0 21 01 04 00 19 02 06 00 00 00
BAD FCS!

0000  ff 03 c0 21 01 12 00 19 02 06 00 00 00 00 03 05
0010  c2 23 05 05 06 45 36 dc 8c 07 02 08 02 12 d1
code=ConfReq(01) id=12 len=0019

0000  ff 03 c0 21 01 13 00 19 02 06 00 00 00 00 03 05
0010  c2 23 05 05 06 45 36 dc 8c 07 02 08 02 56 8a
code=ConfReq(01) id=13 len=0019
It looks like the peer was sending you LCP Configure Request packets (with incremental ID numbers).  It also looks like you lost a chunk of bytes between LCP ConfReq ID#04 and LCP ConfReq ID#12?!?

Do you have a log of the bytes you sent to the modem as well? 

Patrick Klos
Klos Technologies, Inc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]