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 a few different persistency types for settings and configurations:
Table 23-1 lists the different configurations and settings of the device, and their persistency type.
API | Functionality | Parameter | Type | Comments | CC3120/ CC3220 | CC313x/ CC323x |
---|---|---|---|---|---|---|
sl_DeviceEventMaskSet | Set events mask | System persistent | + | + | ||
sl_DeviceSet | Set time and date | SL_DEVICE_GENERAL_DATE_TIME | System persistent * | The original set value is kept as System Persistence. The updated date and time, however, is kept during hibernate only. | + | + |
Set system persistent configuration | SL_DEVICE_GENERAL_PERSISTENT | Persistent | + | + | ||
sl_DeviceUartSetMode | Set UART baud rate | Non-persistent | + | + | ||
sl_NetAppMDNSRegisterService | Register mDNS service | Optionally persistent | + | + | ||
sl_NetAppMDNSUnRegisterService | Unregister mDNS service | Optionally persistent | + | + | ||
sl_NetAppSet | Set device name | SL_NETAPP_DEVICE_NAME | System persistent | + | ||
Enable/disable DNS caching | SL_NETAPP_DNS_CLIENT_CACHE_ENABLE | System persistent | + | |||
Configure HTTP timeout | SL_NETAPP_HTTP_TIMEOUT | Non-persistent | + | |||
Set Http port number | SL_NETAPP_HTTP_PRIMARY_PORT_NUMBER | System persistent | + | + | ||
Enable/disable Http authentication check | SL_NETAPP_HTTP_AUTH_CHECK | System persistent | + | + | ||
sl_NetAppSet | Set Http authentication name | SL_NETAPP_HTTP_AUTH_NAME | System persistent | + | + | |
Set Http authentication password | SL_NETAPP_HTTP_AUTH_PASSWORD | System persistent | + | + | ||
Set Http authentication realm | SL_NETAPP_HTTP_AUTH_REALM | System persistent | + | + | ||
Enable/Disable Http ROM pages access | SL_NETAPP_HTTP_ROM_PAGES_ACCESS | System persistent | + | + | ||
Set secondary port number | SL_NETAPP_HTTP_SECONDARY_PORT_NUMBER | System persistent | + | + | ||
Enable /disable of secondary port | SL_NETAPP_HTTP_SECONDARY_PORT_ENABLE | System persistent | + | + | ||
Enable/disable security on the primary port | SL_NETAPP_HTTP_PRIMARY_PORT_SECURITY_MODE | System persistent | + | + | ||
Set private key file name | SL_NETAPP_HTTP_PRIVATE_KEY_FILENAME | System persistent | + | + | ||
Set device certificate file name | SL_NETAPP_HTTP_DEVICE_CERTIFICATE_FILENAME | System persistent | + | + | ||
Set CA certificate file name | SL_NETAPP_HTTP_CA_CERTIFICATE_FILE_NAME | System persistent | + | + | ||
Set http temporary mDNS service name | SL_NETAPP_HTTP_TEMP_REGISTER_MDNS_SERVICE_NAME | Non-persistent | + | + | ||
Unset http temporary mDNS service name | SL_NETAPP_HTTP_TEMP_UNREGISTER_MDNS_SERVICE_NAME | Non-persistent | + | + | ||
Set DHCP server parameters | SL_NETAPP_DHCP_SRV_BASIC_OPT | Reset | + | + | ||
Set mDNS continues query | SL_NETAPP_MDNS_CONT_QUERY_OPT | System persistent | + | + | ||
Set mDNS event mask | SL_NETAPP_MDNS_QEVETN_MASK_OPT | System persistent | + | + | ||
Set mDNS timing parameters | SL_NETAPP_MDNS_TIMING_PARAMS_OPT | System persistent | + | + | ||
Set device URN | SL_NETAPP_DEVICE_URN | System persistent | MDNS restarts internally | + | + | |
Set domain name | SL_NETAPP_DEVICE_DOMAIN | Reset | + | + | ||
sl_NetAppSet | Start NetApp applications | System persistent | Setting effective to current Wi-Fi Mode | + | + | |
Stop NetApp applications | System persistent | Setting effective to current Wi-Fi Mode | + | + | ||
sl_NetCfgSet | Setting a STA IPv6 Global static address | SL_NETCFG_IPV6_ADDR_GLOBAL | System persistent | + | + | |
Setting a STA IPv6 Local static address | SL_NETCFG_IPV6_ADDR_LOCAL | System persistent | + | + | ||
Setting/releasing a DHCP/DHCP LLA /STATIC STA IP address | SL_NETCFG_IPV4_STA_ADDR_MODE | System persistent | + | + | ||
Enable\disable IPV6 interface | SL_NETCFG_IF | System persistent | + | + | ||
Setting a static IP address to the device working in AP mode or P2P go | SL_NETCFG_IPV4_AP_ADDR_MODE | Reset | + | + | ||
Set additional IPv6 DNS address | SL_NETCFG_IPV6_DNS_CLIENT | System persistent | + | |||
Set MAC address | SL_NETCFG_MAC_ADDRESS_SET | Reset | + | + | ||
Disconnet AP station by mac address | SL_NETCFG_AP_STATION_DISCONNECT | Non-persistent | + | + | ||
sl_WlanPolicySet | Set connection policy | SL_WLAN_POLICY_CONNECTION | System persistent | + | + | |
Set system scan time interval and start scan | SL_WLAN_POLICY_SCAN | System persistent * | Interval and policy are system persistent, but the hidden SSID option is not | + | + | |
Set PM policy for STA mode only | SL_WLAN_POLICY_PM | System persistent | + | + | ||
Set negotiation policy parameters for P2P role | SL_WLAN_POLICY_P2P | System persistent | + | + | ||
sl_WlanProfileAdd | Add profile | Persistent | + | + | ||
sl_WlanProfileDel | Delete profile | Persistent | + | + | ||
sl_WlanProfileUpdate | Update profile | Persistent | + | |||
sl_WlanRxFilterAdd | Add new filter rule to the system | Optionally persistent | Save the filters for persistent can be done by calling with SL_WLAN_RX_FILTER_STORE | + | + | |
sl_WlanSet | Enables to skip server authentication | SL_WLAN_GENERAL_PARAM_DISABLE_ENT_SERVER_AUTH | Non-persistent | + | ||
Configure which pad to use for each antenna | WLAN_GENERAL_PARAM_ANT_SELECTION_CONFIG | System persistent | + | |||
Configure co-existing to work with both Wi-Fi and BLE | WLAN_GENERAL_PARAM_COEX_CONFIG | System persistent | + | |||
Receive events regarding the link quality | WLAN_GENERAL_PARAM_REGISTER_LINK_QUALITY_EVENT | System persistent | + | |||
Set suspended profiles mask | SL_WLAN_GENERAL_PARAM_OPT_SUSPEND_PROFILES | System persistent | + | |||
Enable/disable 5-Ghz functionality | SL_WLAN_GENERAL_PARAM_OPT_ENABLE_5G | System persistent | + | |||
Configure 5G scan parameters | SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS_5G | System persistent | + | |||
Set user country region attributes | SL_WLAN_GENERAL_PARAM_OPT_USER_COUNTRY_ATTRIB | System persistent | + | |||
Delete MAC address from index in the AP access list | SL_WLAN_AP_ACCESS_LIST_DEL_IDX | Reset | + | + | ||
Del MAC address from the AP access list | SL_WLAN_AP_ACCESS_LIST_DEL_MAC | Reset | + | + | ||
Add MAC address to the AP access list | SL_WLAN_AP_ACCESS_LIST_ADD_MAC | Reset | + | + | ||
Set max station ageing time | SL_WLAN_AP_OPT_MAX_STA_AGING | Reset | + | + | ||
Set SSID for AP mode | SL_WLAN_AP_OPT_SSID | Reset | + | + | ||
Set channel for AP mode | SL_WLAN_AP_OPT_CHANNEL | Reset | + | + | ||
Set hidden SSID mode for AP mode | SL_WLAN_AP_OPT_HIDDEN_SSID | Reset | + | + | ||
Set security type for AP mode | SL_WLAN_AP_OPT_SECURITY_TYPE | Reset | + | + | ||
Set password for for AP mode | SL_WLAN_AP_OPT_PASSWORD | Reset | + | + | ||
Set scan parameters | SL_WLAN_GENERAL_PARAM_OPT_SCAN_PARAMS | System persistent | + | + | ||
sl_WlanSet | Set country code for AP mode | SL_WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE | System persistent | + | + | |
Set STA mode Tx power level | SL_WLAN_GENERAL_PARAM_OPT_STA_TX_POWER | System persistent | + | + | ||
Set AP mode Tx power level | SL_WLAN_GENERAL_PARAM_OPT_AP_TX_POWER | System persistent | + | + | ||
Set AP mode Info element | SL_WLAN_GENERAL_PARAM_OPT_INFO_ELEMENT | System persistent | + | + | ||
Set P2P device type | SL_WLAN_P2P_OPT_DEV_TYPE | System persistent | + | + | ||
Set P2P channels | SL_WLAN_P2P_OPT_CHANNEL_N_REGS | System persistent | + | + | ||
Set maximum supported stations | SL_WLAN_AP_OPT_MAX_STATIONS | Reset | + | + | ||
Set AP access list mode | SL_WLAN_AP_ACCESS_LIST_MODE | Reset | + | + | ||
sl_WlanSetMode | Set WLAN mode | Persistent | + | + |