This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: lwIP TCP/IP packet processing

Part Number: RM57L843
Other Parts Discussed in Thread: HALCOGEN,

Hello Everyone,

After establishing connection between the Hercules and the PC and after I'm trying to get the data from the struct passed to the application layer (recv_data), I always get the following results in recv_data, after reading it from the watchdog variable:

*recv_data    struct pbuf    {next=0xEA005BB2 {next=???,payload=0xEAFFFFFE,tot_len=65534,len=60159,type=254 '\xfe'...    0x00000000   

I successfully pinged the Hercules and tried to connect to it with Ncat, too, but the result above stays the same.

I would like to extract data from the bitstream, e.g.: if I press "P" on the keyboard of the computer, I would like to extract that "P" in the controller from the bitstream; and this applies to not just letters, but words and numbers, too.

I'm using raw api.

Thanks for your answers in advance.

Regards,

Zsolt