AnsweredAssumed Answered

MQX 4.1.1 RTCS ipcfg_bind_staticip sometimes returning IPCFG_ERROR_BIND

Question asked by thiagow on Oct 30, 2015
Latest reply on Nov 6, 2015 by thiagow

I've a application that has a web interface to configure the network paramters. When I change the IPv4 number to use a static address, sometimes when I call ipcfg_bind_staticip() function passing BSP_DEFAULT_ENET_DEVICE and the number 167772616   ( for setting the 10.0.1.200 ip number)  I receive IPCFG_ERROR_BIND instead the expect success message that is IPCFG_ERROR_OK and the IP number is not set. Strange is that if I try to run the same function again I receive IPCFG_ERROR_OK.   The other strange behavior is that this problem occours about in 30 % of the times.

Did anybody realized this?

Outcomes