Re: [lwip-users] Try to manipulate the pbuf payload

2017-09-01 Thread Sergio R. Caprile
Well... You do know that p->payload is a void*, that is, a pointer to some bytes, do you ? http://www.nongnu.org/lwip/2_0_x/structpbuf.html#a8d32dc3e964369d4eec638fc37fbc460 Then, why do you want to peek at data between your driver and lwip ? You are not using the RAW API, you are looking at

[lwip-users] Try to manipulate the pbuf payload

2017-09-01 Thread User431
Hello, I have got some issues in reading the payload of the pbuf. I'm using a STM32 microcontroller and run on it the LwIP Stack in the raw API without a RTOS. It's based on a example from ST with a Webserver and is working fine. But now I want to read the payload, when a new packet is