Search the Community
Showing results for tags 'ethernet.begin()'.
Hi all! I started a tcp server on my TM4C1294. At the beginning, my code works. Then I get new ip, dns, gateway and subnet mask from serial port. I want to restart my server with the new ip,dns,gw and subnet values. For this reason, I tried the below code... Unfortunately, the program stuck in "Ethernet.begin". Is there anything in order to restart the ethernet and tcp server with new ip? //LIBRARIES #include <stdint.h> #include <stdbool.h> //#include "inc/hw_memmap.h" //#include "driverlib/debug.h" #include <Ethernet.h> #include <Wire.h> //#i