Other Parts Discussed in Thread: MSP-EXP432E401Y
Hello, using the MSP-EXP432E401Y dev kit, I imported into my workspace this example:
The code works fine when I use DHCP. However, when I try to use a statip IP, it fails.
In the file enet_lwip.c I change this line:
lwIPInit(g_ui32SysClock, pui8MACArray, 0, 0, 0, IPADDR_USE_DHCP);
to this:
ip4_addr_t local;
ip4_addr_t netmask;
ip4_addr_t gateway;
IP4_ADDR(&local, 192, 168, 1 ,19);
IP4_ADDR(&netmask, 255, 255, 255,0);
IP4_ADDR(&gateway, 192, 168, 1 ,1);
lwIPInit(g_ui32SysClock, pui8MACArray, local.addr, netmask.addr, gateway.addr, IPADDR_USE_STATIC);
with no sucess. I'm using the latest version of the SimpleLink SDK(2.40.00.11)
Any help would be appreciated.
Thanks,
Richard