Hello all again, I have a new doubt.
I'm trying to do this:
if ( param->Type == ADL_CMD_TYPE_PARA ) { //Modify IP (AT+T2RIP=x.x.x.x)
cmdStr = param->StrData;
wm_strGetParameterString ( localIP, cmdStr, 1 );
…
wip_inet_aton ( (ascii *) localIP, (ascii *) forcedIP );
…
}
I get the whole IP inside localIP, but when i try to use wip_inet_aton, the address doesn’t get converted to wip_in_addr_t (I have tried &forcedIP, *forcedIP, forcedIP…). Anyone has an idea about this? Thank you all in advance .