Hello Community,
Is it possible to assign static ip address for launchxl2-570lc43x ?
best regards: Advaith
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Community,
Is it possible to assign static ip address for launchxl2-570lc43x ?
best regards: Advaith
You need to define the IP address before calling lwipInit(): for example
uint8 ip_addr[4] = { 192, 168, 2, 44 };
uint8 netmask[4] = { 255, 255, 255, 0 };
uint8 gateway[4] = { 192, 168, 2, 254 };
ipAddr = lwIPInit(0, macAddress,*((uint32_t *)ip_addr),*((uint32_t *)netmask),*((uint32_t *)gateway), IPADDR_USE_STATIC);
Hello QJ
Is it possible to detect the ip address automatically?
In lwip example we need to provide the ip address of the device which is to be connected.
My requirement is to detect the ip address automatically when an unknown device is connected. Is it possible? Are there any codes for that?
Regards: Advaith