I’m running the FreeRTOS TCP/IP stack and we want to be able to ask the DHCP server for a new address under certain conditions. I assume that must be possible. If so, would anyone be able to tell me how please?
Also, where can I get the value for the current IP address just by breaking the progrm and looking with the debugger?
Finally, when I receive a UDP packet, if I understand correctly, the sending address should be xAddress in the following
BytesReceived = FreeRTOS_recvfrom( xSocket, ReceiveBuffer, sizeof(ReceiveBuffer), 0, &xAddress, &ulAddressLength );
Is that correct? It doesn’t seem to be picking up the correct address for me.