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.

Problem with using static IP in CC3200 module

Other Parts Discussed in Thread: CC3200

If the Static IP is assigned to our module, then during the process of connection to Wi-Fi access point the module falls into FaultISR. (But ping detects our static IP)

 Use dynamic IP, we have success.

 

Code for dynamic IP

    lRetVal = sl_NetCfgSet(SL_IPV4_STA_P2P_CL_DHCP_ENABLE,1,1,&ucVal);

 

Code for static IP

    ipV4.ipV4          = (unsigned long)SL_IPV4_VAL(10,0,0,192);            // unsigned long IP address

    ipV4.ipV4Mask      = (unsigned long)SL_IPV4_VAL(255,255,255,0);         // unsigned long Subnet mask for this STA/P2P

    ipV4.ipV4Gateway   = (unsigned long)SL_IPV4_VAL(10,0,0,1);              // unsigned long Default gateway address

    ipV4.ipV4DnsServer = (unsigned long)SL_IPV4_VAL(10,0,0,15);            // unsigned long DNS server address

    lRetVal = sl_NetCfgSet(SL_IPV4_STA_P2P_CL_STATIC_ENABLE,1,sizeof(_NetCfgIpV4Args_t),(unsigned char *)&ipV4);

 

May by some TI example can help us to get the proper way to connect to Wi-Fi access point use static IP?