08-31-2018 05:52 AM
I am using the LWIP stack with SDK 2018.2. I am trying to get DHCP to work. I have noticed something strange on the following assignmnent
ipaddr.addr = echo_netif->ip_addr.addr;
echo_netif->ip_addr.addr = 0x0a01a8c0
But when it assigns the value to ipaddr.addr it is not correct. I get 0x000a01a8.
Its shifted the value and lost the lower bits.
Anyone know why? Thanks
09-04-2018 07:40 AM
is your application based on LWIP echo from SDK? If you have done any modifications, can you please shared the codes and also the terminal output to show the results?
If this is based on any of our evaluation board, please feel free to send the project over so I could try to reproduce it.