|
From: | Devanand Biradar |
Subject: | Re: [lwip-users] PPPos problem LWIP2.1 |
Date: | Sat, 15 Dec 2018 11:39:10 +0530 |
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
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |