Patrick, I managed to get it to work finally. But I had to just assign
the addr values rather than using the mem copy. Using mem copy I ended
up with a different value in addr.
Thanks for all your help.
Jon
udp_addr.addr = addr->addr;
On 10/07/2020 14:37, Patrick Klos wrote:
On 7/10/2020 9:
On 7/10/2020 9:04 AM, Jon Bean wrote:
Patrick, you are correct its an issue with the addr. I think its
because I am assigning it in the rx function, but then the addr
pointer is destroyed so I end up with a NULL pointer. Is there some
way to copy the address in LWIP? I had some issues with the
Patrick, you are correct its an issue with the addr. I think its because
I am assigning it in the rx function, but then the addr pointer is
destroyed so I end up with a NULL pointer. Is there some way to copy the
address in LWIP? I had some issues with the code you sent. I had to use
addr->addr
On 7/10/2020 8:19 AM, Jon Bean wrote:
Hi Patrick
That solved the crashing problem thanks. Problem is that I never
receive the data. If I send from the receive function it works fine.
But doing it from the LWIP timer handler it never arrives. The
udp_sendto function returns without any errors,
Hi Patrick
That solved the crashing problem thanks. Problem is that I never receive
the data. If I send from the receive function it works fine. But doing
it from the LWIP timer handler it never arrives. The udp_sendto function
returns without any errors, just no data arrives. Any idea why?
On 7/10/2020 6:44 AM, Jon Bean wrote:
Hi
I am trying to setup an application on a Texas Instruments TIVA micro
controller. What I am trying to do is first receive a UDP packet from
a pc to the board. I then want to be able to send packets back when I
have data to send. I have managed to do th
Hi
I am trying to setup an application on a Texas Instruments TIVA micro
controller. What I am trying to do is first receive a UDP packet from a
pc to the board. I then want to be able to send packets back when I have
data to send. I have managed to do this using the UDP echo example. But
thi