Hi guys
I'm using LWIP 2.1.0 and FREERTOS .
I want to use point to point over serial protocol and I'm using Sim800l
this is the path I've gone until now
1 - I configured my sim800l using AT Command
2 - I defined a Context using AT+CGDCONT and set APN
3 - I Enter Data State using AT+CGDATA
4 - It started blink fast that indicates it attached a gprs session and went
to ppp mode
5 - then I create a pppos using pppapi_pppos_create _ it calls my output
callback to send 44 data (I will send the dump
6 - then set it to defualt netif and set its authentication in sequence
7 - Then I receive data in array of 32 bytes(I tried other values even 512)
and send it to stack using pppos_input_tcpip
here is the ppp log before gprs connection terminates automatically
ppp phase changed[1]: phase=0
initialized PPPoSppp_connect[1]: holdoff=0
ppp phase changed[1]: phase=3
pppos_connect: unit 1: connecting
ppp_start[1]
ppp phase changed[1]: phase=6
pppos_send_config[1]: out_accm=FF FF FF FF
ppp_send_config[1]
pppos_recv_config[1]: in_accm=FF FF FF FF
ppp_recv_config[1]
ppp: auth protocols: PAP=1 CHAP=0 CHAP_MD5=0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcac73227> <pcomp> <accomp>]
pppos_write[1]: len=24
ppp_start[1]: finished
pppos_input[1]: got 32 bytes
pppos_input[1]: Dropping bad fcs 0x3f99 proto=0xc021
pppos_input_drop: pbuf len=6, addr 100000e8
pppos_input[1]: Dropping bad fcs 0x2a65 proto=0xc021
pppos_input_drop: pbuf len=7, addr 100000e8
pppos_input[1]: got 32 bytes
pppos_input[1]: Dropping bad fcs 0x4af4 proto=0xc021
pppos_input_drop: pbuf len=7, addr 100000e8
pppos_input[1]: Dropping bad fcs 0x2a65 proto=0xc021
pppos_input_drop: pbuf len=7, addr 100000e8
Does anyone have any idea what the problem is?