This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-CC3220-SDK: Obtaining IP address of SimpleLink interface

Part Number: SIMPLELINK-CC3220-SDK

SlNetIf[Wifi]_getConnectionStatus() fails

Using SlNetIf_getConnectionStatus( ) on the CC3220 WiFI interface will always fail, initially with a SL_EZEROLEN (Size is not set to the size of connectionParams but passed in as 0 into sl_WlanGet() in SlNetIfWifi_getConnectionStatus(), I assume being the error.)  This seems to break the connection subsequently (all calls on the network processor fail after this.)

Using sl_NetCfgGet(SLNETIF_IPV4_ADDR, dummy, &len, buffer) will fail as well, now directly with SL_SPI_ABORTED -2005 (ok, i have no idea what to pass in as the dummy argument, but a null pointer won't do either.)

Is there a good way to get the IP address of the interface?  I would prefer not to use the callback mechanism if at all possible.  Why do these calls result in a failure?  I assume I am allowed to call the SlNetIf query functions? 

I don't think a callback will supply me with the interface in question.  Assuming there are multiple, like a PPP interface, this wouldn't work really either?