Hi,
I'm having trouble about reading IP address of the M52259. I try to use ipcfg_get_ip() function but return value of the function does not make sense.
Is there any idea about this?
Solved! Go to Solution.
Have a look at sh_ipconfig.c in shell library, function Shell_ipconfig_status(), to see how to use such functions.
Anyway, did you initialize ethernet interface and got/set some IP address already?
The function doesn't change it's OUT parameters (so they can remain unitialized), if there's no information yet.
PetrM
Have a look at sh_ipconfig.c in shell library, function Shell_ipconfig_status(), to see how to use such functions.
Anyway, did you initialize ethernet interface and got/set some IP address already?
The function doesn't change it's OUT parameters (so they can remain unitialized), if there's no information yet.
PetrM