Hello,
I am using Ethernet bootloader for my application and the bootloader broadcasts bootp requests in the network.
Now I want to send these bootp requests to a specific IP and not broadcast.
What I did was assign uip_hostaddr a IP address for the device.
Then open a connection using the function as shown below
g_pConn = uip_udp_new(&sAddr, HTONS(BOOTP_SERVER_PORT));
sAddr is the address of the server PC.
and then send the Bootp request Packet.
The bootloader doesnt send the Bootp request.
Now when sAddr is broadcast IP I can see the BootP packets in Wireshark.
But when I change this IP to my server PC IP bootloader doesnt send out bootp packets.
What could be the issue?
Thanks.