lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PPPos problem LWIP2.1


From: arsz6733
Subject: Re: [lwip-users] PPPos problem LWIP2.1
Date: Fri, 14 Dec 2018 22:21:07 -0700 (MST)

here is my polling while()


                // *** LOOP: Handle GSM modem responses & disconnects ***
                while(1) {
                        memset(data, 0, BUF_SIZE);
                        int len = uart_read_bytes(GSM_UART_Port, 
(uint8_t*)data, BUF_SIZE, 30 /
portTICK_RATE_MS);
                        //DEBUGOUT("\n\r%s\n\r",data);
                        if (len > 0)    {
                                pppos_input_tcpip(ppp, (u8_t*)data, len);
                        }
                } 

and this is with interrupt I enabled PPP_INPROC_IRQ_SAFE


void UART3_IRQHandler(void){
                char ch;
                ch=UARTGetChar(LPC_UART3);
                        UARTPutChar(UART_0,ch);
        }

and here is the log more or less

pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
#pppos_input[1]: got 1 bytes
Àpppos_input[1]: got 1 bytes
!pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
!pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
!pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
 pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
2pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
"pppos_input[1]: got 1 bytes
}pppos_input[1]: got 1 bytes
~pppos_input[1]: got 1 bytes
pppos_input[1]: Dropping bad fcs 0x2a65 proto=0xc021
pppos_input_drop: pbuf len=11, addr 10000098

any new suggestion? I wonder where I'm doing wrong









--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

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