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.

CC32xx launchpad not using its static IP-Address

Other Parts Discussed in Thread: CC3200

I recently started to use the CC3200 launchpad and adapted the CC3200 SDK Sample "tcp_socket" to run some custom tests. For that I changed the function BsdTcpClient() in the code. Those tests are working.

I then wanted to use a Static IP-Address. I used the example in the SDK documentation and put the following Code in the ConfigureSimpleLinkToDefaultState()-Function and removed the DHCP-Enable code.

SlNetCfgIpV4Args_t ipV4;
ipV4.ipV4 = (unsigned long)SL_IPV4_VAL(10,0,0,90); // unsigned long IP  address
ipV4.ipV4Mask = (unsigned long)SL_IPV4_VAL(255,255,255,0); // unsigned long Subnet mask for this AP/P2P
ipV4.ipV4Gateway = (unsigned long)SL_IPV4_VAL(10,0,0,1); // unsigned long Default gateway address
ipV4.ipV4DnsServer = (unsigned long)SL_IPV4_VAL(160,85,193,100); // unsigned long DNS server address
lRetVal = sl_NetCfgSet(SL_IPV4_AP_P2P_GO_STATIC_ENABLE, IPCONFIG_MODE_ENABLE_IPV4, sizeof(SlNetCfgIpV4Args_t), 
(unsigned char *) &ipV4); ASSERT_ON_ERROR(lRetVal);

It compiles and runs, but  the SL_NETAPP_IPV4_IPACQUIRED_EVENT is still sent and the device is using an IP-Address received from the DHCP instead of the static IP-Address.

My question is: Where do I make a mistake? What else do I have to do to make the device use its static IP-Address?

Thank you for your help.