SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
Configure network configuration used by the P2P API:
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_STATIC_ENABLE,1, sizeof(_NetCfgIpV4Args_t),(unsigned char *)&ipV4)
sl_NetCfgSet(SL_IPV4_STA_P2P_CL_DHCP_ENABLE,1,1,&val);
sl_NetCfgSet(SL_IPV4_AP_P2P_GO_STATIC_ENABLE,1, sizeof(_NetCfgIpV4Args_t),(unsigned char *)&ipV4)
This API sets the network configuration used when the P2P role is set.