SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The SimpleLink device supports some enhanced DHCP modes for IP acquisition after connection to a Wi-Fi network:
Example:
_i16 Status;
Status = sl_NetCfgSet(SL_NETCFG_IPV4_STA_ADDR_MODE,SL_NETCFG_ADDR_FAST_RENEW_MODE_WAIT_ACK,0,0);
if( Status )
{
// error
}
Example:
_i16 Status;
Status = sl_NetCfgSet(SL_NETCFG_IPV4_STA_ADDR_MODE,SL_NETCFG_ADDR_FAST_RENEW_MODE_NO_WAIT_ACK,0,0);
if( Status )
{
// error
}
Example:
_i16 Status;
Status = sl_NetCfgSet(SL_NETCFG_IPV4_STA_ADDR_MODE, SL_NETCFG_ADDR_DISABLE_FAST_RENEW,0,0);
if( Status )
{
// error
}
Figure 6-1 shows the differences between the modes.