SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The domain name is used to access the SimpleLink Wi-Fi device by name, for example accessing the HTTP server in AP mode. If no domain name is set, the default domain name is www.mysimplelink.net or mysimplelink.net. This configuration is persistent according to system-persistent configuration.
Example:
/* set new domain name */
_i16 Status;
_u8 *domain_name = "www.myDomain.net";
Status = sl_NetAppSet(SL_NETAPP_DEVICE_ID,SL_NETAPP_DEVICE_DOMAIN,strlen(domain_name),(_u8 *) domain_name);
if( Status )
{
/* error */
}