You can chat about native SDK questions and issues here.

User avatar
By neostar
#63605 Hi

After connection to the router i used the following code to know my ip address. So for this i did

Code: Select allstruct ip_info ipconfig;
wifi_get_ip_info(STATION_IF,   &ipconfig);
os_printf("\n self ip : %d.%d.%d.%d", IP2STR(ipconfig.ip.addr));


But after executing the last line i get

Code: Select allFatal exception 28(LoadProhibitedCause):
epc1=0x40215d17, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0e02a8c2, depc=0x00000000


Not sure why i get this.
I understand from the exception that i am loading from a prohibited address but what is the right way to do it ?