Tool/software: Code Composer Studio
Hello,
I used lwip on RM57 launchpad and the demo is working.
Now, I want to use Raw/TCP for receive and send data to another device.
To receive data I´m using this function:
tcp_recv(struct tcp_pcb *pcb, tcp_recv_fn recv)
When the data is received, the struct pbuf has the payload (void *payload).
For example, the other device sent the data, and I know that the data is in a register, because I used the memory browser. For this example, the data is 0x001E :
My question is: How to save this data in a variable?
Any help is welcome.
Thanks