lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Extracting data from lwIP TCP/IP flow on microcontrolle


From: Zsolt Nagy
Subject: Re: [lwip-users] Extracting data from lwIP TCP/IP flow on microcontroller
Date: Thu, 26 Jul 2018 07:58:24 +0200

The question is: how to?

After establishing connection between the RM57L843 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   



2018-07-25 12:10 GMT+02:00 Zsolt Nagy <address@hidden>:
Hello Everyone,

I'm using a Texas Instruments RM57L843 microcontroller and I would like to communicate with it from the PC. I managed to set up communication with static IP, and successfully pinged the controller. I'm using the drivers provided by TI. I'm using raw api, trying to keep things as low level as possible.

Now 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.

Also, I noticed that there were significantly more packets received by the controller, than the 4 ping packets - I guess, these were part of the necessary network communication. So another job would be to extract the packets I need, I send, from this dataflow.

Thanks for your reply in advance.

Regards,

Zsolt Nagy


reply via email to

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