In keil NETWORK stack, how to change IP address in runtime?
In documents, LOCALM is given but there is no example to use it.
Thanks
#include "rl_net_lib.h"
extern LOCALM localm[];
localm[NETIF_ETH].IpAddr[0] = 192; localm[NETIF_ETH].IpAddr[1] = 168; localm[NETIF_ETH].IpAddr[2] = 0; localm[NETIF_ETH].IpAddr[3] = 5;
the above code work in keil ver5, but I did not find the file that localm[] is declared.maybe it is hidden in lib.
it also needs "rl_net_lib.h to be included!