SWRU368C May   2018  – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD

 

  1. Overview
    1. 1.1 Document Scope
    2. 1.2 Overview
      1. 1.2.1 Features List
    3. 1.3 Host Driver Overview
    4. 1.4 Configurable Information Element
  2. Writing a Simple Networking Application
    1. 2.1 Overview
      1. 2.1.1 Basic Example Code
  3. Device Initialization
    1. 3.1 Overview
    2. 3.2 Host Interface
      1. 3.2.1 SPI Interface
      2. 3.2.2 UART Interface
        1. 3.2.2.1 Change UART Baud Rate
  4. Device Configurations
    1. 4.1 Overview
    2. 4.2 Device Parameters
    3. 4.3 WLAN Parameters
      1. 4.3.1 Advanced
    4. 4.4 Network Parameters
    5. 4.5 Internet and Networking Services Parameters
    6. 4.6 Power-Management Parameters
      1. 4.6.1 Overview
      2. 4.6.2 Power Policy
    7. 4.7 Scan Parameters
      1. 4.7.1 Scan Policy
  5. Socket
    1. 5.1 Overview
      1. 5.1.1 Transmission Control Protocol (TCP)
      2. 5.1.2 User Datagram Protocol (UDP)
    2. 5.2 Socket Connection Flow
    3. 5.3 TCP Connection Flow
      1. 5.3.1 Client Side
      2. 5.3.2 Server Side
    4. 5.4 UDP Connection Flow
      1. 5.4.1 Client Side
      2. 5.4.2 Server Side
    5. 5.5 Socket Options
      1. 5.5.1 Blocking vs NonBlocking
      2. 5.5.2 Secure Sockets
    6. 5.6 SimpleLink Supported Socket API
    7. 5.7 Number of Available Sockets
    8. 5.8 Packet Aggregation
  6. Device Hibernate
    1. 6.1 Overview
  7. Provisioning
    1. 7.1 Overview
    2. 7.2 SmartConfig
      1. 7.2.1 General Description
      2. 7.2.2 How to Use / API
        1. 7.2.2.1 Automatic Activation (Out of the Box)
        2. 7.2.2.2 Manual Activation
        3. 7.2.2.3 Stopping Smart Config
    3. 7.3 AP Mode
      1. 7.3.1 General Description
      2. 7.3.2 How to Use / API
      3. 7.3.3 Things to Note When Configuring AP Provisioning
    4. 7.4 WPS
      1. 7.4.1 General Description
      2. 7.4.2 How to Use / API
      3. 7.4.3 Example of Using WPS
      4. 7.4.4 Tradeoffs Between Provisioning Options
  8. Security
    1. 8.1 WLAN Security
      1. 8.1.1 Personal
      2. 8.1.2 Enterprise
        1. 8.1.2.1 General Description
        2. 8.1.2.2 How to Use / API
        3. 8.1.2.3 Example
        4. 8.1.2.4 Limitations
    2. 8.2 Secured Socket
      1. 8.2.1 General Description
      2. 8.2.2 How to Use / API
        1. 8.2.2.1 Selecting a Method
        2. 8.2.2.2 Selecting a Cipher Suit
        3. 8.2.2.3 Selecting the Secured Files for the Socket
        4. 8.2.2.4 Set Domain Name for Verification and SNI
      3. 8.2.3 Example of Using the SSL
      4. 8.2.4 Supported Cryptographic Algorithms
    3. 8.3 Limitations
      1. 8.3.1 Main Known Limitations
        1. 8.3.1.1 STA Mode
        2. 8.3.1.2 AP Mode
        3. 8.3.1.3 JavaScript Example
        4. 8.3.1.4 Host Driver Example
  9. AP Mode
    1. 9.1 General Description
    2. 9.2 Setting AP Mode – API
    3. 9.3 WLAN Parameters Configuration – API
    4. 9.4 WLAN Parameters Query – API
    5. 9.5 AP Network Configuration
    6. 9.6 DHCP Server Configuration
    7. 9.7 Setting Device URN
    8. 9.8 Asynchronous Events Sent to the Host
    9. 9.9 Example Code
  10. 10Peer to Peer (P2P)
    1. 10.1 General Description
      1. 10.1.1 Scope
      2. 10.1.2 Wi-Fi Direct Advantage
      3. 10.1.3 Support and Abilities of Wi-Fi Direct
      4. 10.1.4 Limitations
    2. 10.2 P2P APIs and Configuration
      1. 10.2.1 Configuring P2P Global Parameters
        1. 10.2.1.1 Set P2P Role
        2. 10.2.1.2 Set P2P Network Configuration
        3. 10.2.1.3 Set P2P Device Name
        4. 10.2.1.4 Set P2P Device Type
        5. 10.2.1.5 Set P2P Listen and Operation Channels
      2. 10.2.2 Configuring P2P Policy
        1. 10.2.2.1 Configure P2P Intent Value and Negotiation Initiator
      3. 10.2.3 Configuring P2P Profile Connection Policy
      4. 10.2.4 Discovering Remote P2P Peers
        1. 10.2.4.1 How to Start P2P Discovery
        2. 10.2.4.2 How to See/Get P2P Remote Peers (Network P2P List)
      5. 10.2.5 Negotiation Method
      6. 10.2.6 Manual P2P Connection
      7. 10.2.7 Manual P2P Disconnection
      8. 10.2.8 P2P Profiles
      9. 10.2.9 Removing P2P Profiles
    3. 10.3 P2P Connection Events
    4. 10.4 Use Cases and Configuration
      1. 10.4.1 Case 1 – Nailed P2P Client Low-Power Profile
      2. 10.4.2 Case 2 – Mobile Client Low-Power Profile
      3. 10.4.3 Case 3 – Nailed Center Plugged-in Profile
      4. 10.4.4 Case 4 – Mobile Center Profile
      5. 10.4.5 Case 5 – Mobile General-Purpose Profile
    5. 10.5 Example Code
  11. 11HTTP Server
    1. 11.1  Overview
    2. 11.2  Supported Features
    3. 11.3  HTTP Web Server Description
      1. 11.3.1 Overview
        1. 11.3.1.1 Details
    4. 11.4  HTTP GET Processing
      1. 11.4.1 Overview
      2. 11.4.2 Default Web Page
      3. 11.4.3 SimpleLink GET Tokens
      4. 11.4.4 User-Defined Tokens
      5. 11.4.5 HTML Sample Code With Dynamic HTML Content
    5. 11.5  HTTP POST Processing
      1. 11.5.1 Overview
      2. 11.5.2 SimpleLink POST Tokens
      3. 11.5.3 SimpleLink POST Actions
      4. 11.5.4 User-Defined Tokens
      5. 11.5.5 Redirect after POST
      6. 11.5.6 HTML Sample Code With POST and Dynamic HTML Content
    6. 11.6  Internal Web Page
    7. 11.7  Force AP Mode Support
    8. 11.8  Accessing the Web Page
      1. 11.8.1 SimpleLink in Station Mode
      2. 11.8.2 SimpleLink in AP Mode
    9. 11.9  HTTP Authentication Check
    10. 11.10 Handling HTTP Events in Host Using the SimpleLink Driver
    11. 11.11 SimpleLink Driver Interface the HTTP Web Server
      1. 11.11.1 Enable or Disable HTTP Server
      2. 11.11.2 Configure HTTP Port Number
      3. 11.11.3 Enable or Disable Authentication Check
      4. 11.11.4 Set or Get Authentication Name, Password, and Realm
      5. 11.11.5 Set or Get Domain Name
      6. 11.11.6 Set or Get URN Name
      7. 11.11.7 Enable or Disable ROM Web Pages Access
    12. 11.12 SimpleLink Predefined Tokens
      1. 11.12.1 GET Values
      2. 11.12.2 POST Values
      3. 11.12.3 POST Actions
      4. 11.12.4 HTTP Server Limitations
  12. 12mDNS
    1. 12.1 Overview
    2. 12.2 Protocol Detail
    3. 12.3 Implementation
      1. 12.3.1 Default Implementation
      2. 12.3.2 173
      3. 12.3.3 Start and Stop mDNS
      4. 12.3.4 mDNS Query – One Shot
      5. 12.3.5 mDNS Query – Continuous
      6. 12.3.6 mDNS Service Registration
    4. 12.4 Supported Features
    5. 12.5 Limitations
  13. 13Serial Flash File System
    1. 13.1 Overview
      1. 13.1.1 Summary of Instructions
      2.      File Creation
      3.      File Opening
      4.      File Closing
      5.      File Writing
      6.      File Reading
      7.      File Deleting
      8.      File Information
  14. 14Rx Filter
    1. 14.1 Overview
    2. 14.2 Detailed Description
    3. 14.3 Examples
    4. 14.4 Creating Trees
    5. 14.5 Host API
      1. 14.5.1 Code Example
    6. 14.6 Notes and Limitations
  15. 15Transceiver Mode
    1. 15.1  General Description
    2. 15.2  How to Use / API
    3. 15.3  Sending and Receiving
    4. 15.4  Changing Socket Properties
    5. 15.5  Internal Packet Generator
    6. 15.6  Transmitting CW (Carrier-Wave)
    7. 15.7  Connection Policies and Transceiver Mode
    8. 15.8  Notes about Receiving and Transmitting
      1. 15.8.1 Receiving
    9. 15.9  Use Cases
      1. 15.9.1 Sniffer
    10. 15.10 TX Continues
    11. 15.11 Ping
    12. 15.12 Transceiver Mode Limitations
  16. 16Rx Statistics
    1. 16.1 General Description
    2. 16.2 How to Use / API
    3. 16.3 Notes about Receiving and Transmitting
    4. 16.4 Use Cases
    5. 16.5 Rx Statistics Limitations
  17. 17Asynchronous Events
    1. 17.1 Overview
    2. 17.2 WLAN Events
    3. 17.3 Netapp Events
    4. 17.4 Socket Events
    5. 17.5 Device Events
  18. 18Configurable Info Element
    1. 18.1 General
    2. 18.2 Interface to Application
      1. 18.2.1 API Output
    3. 18.3 Total Maximum Size of all Information Elements
  19. 19Debug
    1. 19.1 Capture NWP Logs
      1. 19.1.1 Overview
      2. 19.1.2 Instructions
        1. 19.1.2.1 Configuring Pin Mux for CC32xx
        2. 19.1.2.2 Terminal Settings
        3. 19.1.2.3 Run Your Program
        4. 19.1.2.4 Send to TI Engineer
          1.        A Host Driver Architecture
            1.         A.1 Overview
              1.          A.1.1 SimpleLink WiFi Host Driver -– Platform-Independent Part
              2.          A.1.2 SimpleLink WiFi Host Driver – Platform-Dependent Part
              3.          A.1.3 SimpleLink WiFi Driver Configuration
              4.          A.1.4 User Application
            2.         A.2 Driver Data Flows
              1.          A.2.1 Transport Layer Protocol
              2.          A.2.2 Command and Command Complete
              3.          A.2.3 Data Transactions
                1.           A.2.3.1 Data Send (From Host to SimpleLink Network Processor)
                2.           A.2.3.2 Data Flow Control
                3.           A.2.3.3 Data Receive (From SimpleLink Network Processor to Host)
                4.           A.2.3.4 Blocking Receive
                5.           A.2.3.5 NonBlocking Receive
                  1.            B Error Codes
                    1.             B.1 Error Codes
                      1.              C How to Generate Certificates, Public Keys, and CAs
                        1.               C.1 Certificate Generation
                          1.                Revision History

Error Codes

Table 21-1 General Error Codes
Error NameValueComment
SL_RET_CODE_OK0
SL_RET_CODE_INVALID_INPUT-2
SL_RET_CODE_SELF_ERROR-3
SL_RET_CODE_NWP_IF_ERROR-4
SL_RET_CODE_MALLOC_ERROR-5
Table 21-2 Device Error Codes
Error NameValueComment
SL_ERROR_STATIC_ADDR_SUBNET_ERROR-60Network stack error
SL_ERROR_ILLEGAL_CHANNEL-61Supplicant error
SL_ERROR_SUPPLICANT_ERROR-72init error code
SL_ERROR_HOSTAPD_INIT_FAIL-73init error code
SL_ERROR_HOSTAPD_INIT_IF_FAIL-74init error code
SL_ERROR_WLAN_DRV_INIT_FAIL-75init error code
SL_ERROR_WLAN_DRV_START_FAIL-76wlan start error
SL_ERROR_FS_FILE_TABLE_LOAD_FAILED-77init file system failed
SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED-78init file system failed
SL_ERROR_HOSTAPD_BSSID_VALIDATION_ERROR-79Ap configurations BSSID error
SL_ERROR_HOSTAPD_FAILED_TO_SETUP_INTERFACE-80Ap configurations interface error
SL_ERROR_MDNS_ENABLE_FAIL-81mDNS enable failed
SL_ERROR_HTTP_SERVER_ENABLE_FAILED-82HTTP server enable failed
SL_ERROR_DHCP_SERVER_ENABLE_FAILED-83DHCP server enable failed
SL_ERROR_PREFERRED_NETWORK_LIST_FULL-93Supplicant error
SL_ERROR_PREFERRED_NETWORKS_FILE_WRITE_FAILED-94Supplicant error
SL_ERROR_DHCP_CLIENT_RENEW_FAILED-100DHCP client error
SL_ERROR_CON_MGMT_STATUS_UNSPECIFIED-102WLAN Connection
SL_ERROR_CON_MGMT_STATUS_AUTH_REJECT-103WLAN Connection
SL_ERROR_CON_MGMT_STATUS_ASSOC_REJECT-104WLAN Connection
SL_ERROR_CON_MGMT_STATUS_SECURITY_FAILURE-105WLAN Connection
SL_ERROR_CON_MGMT_STATUS_AP_DEAUTHENTICATE-106WLAN Connection
SL_ERROR_CON_MGMT_STATUS_AP_DISASSOCIATE-107WLAN Connection
SL_ERROR_CON_MGMT_STATUS_ROAMING_TRIGGER-108WLAN Connection
SL_ERROR_CON_MGMT_STATUS_DISCONNECT_DURING_
CONNECT
-109WLAN Connection
SL_ERROR_CON_MGMT_STATUS_SG_RESELECT-110WLAN Connection
SL_ERROR_CON_MGMT_STATUS_ROC_FAILURE-111WLAN Connection
SL_ERROR_CON_MGMT_STATUS_MIC_FAILURE-112WLAN Connection
SL_ERROR_WAKELOCK_ERROR_PREFIX-115Wake lock expired
SL_ERROR_LENGTH_ERROR_PREFIX-116Uart header length error
SL_ERROR_MDNS_CREATE_FAIL-121mDNS create failed
SL_ERROR_GENERAL_ERROR-127
Table 21-3 Socket Error Codes
Error NameValueComment
SL_SOC_OK0
SL_SOC_ERROR-1
SL_INEXE-8Socket command in execution
SL_EBADF-9Bad file number
SL_ENSOCK-10Max number of socket has been reached
SL_EAGAIN-11Try Again (for non blocking command)
SL_ENOMEM-12Out of memory
SL_EACCES-13Permission denied
SL_EFAULT-14Bad address
SL_ECLOSE-15Close socket operation failed to transmit all queued packets
SL_EALREADY_ENABLED-21Transceiver - Transceiver already ON
SL_EINVAL-22Invalid argument
SL_EAUTO_CONNECT_OR_CONNECTING-69Transceiver - During connection, connected or auto mode started
SL_CONNECTION_PENDING-72Transceiver - Device is connected, disconnect first to open transceiver
SL_EUNSUPPORTED_ROLE-86Transceiver - Trying to start when WLAN role is AP or P2P GO
SL_EDESTADDRREQ-89Destination address required
SL_EPROTOTYPE-91Protocol wrong type for socket
SL_ENOPROTOOPT-92Protocol not available
SL_EPROTONOSUPPORT-93Protocol not supported
SL_ESOCKTNOSUPPORT-94Socket type not supported
SL_EOPNOTSUPP-95Operation not supported on transport endpoint
SL_EAFNOSUPPORT-97Address family not supported by protocol
SL_EADDRINUSE-98Address already in use
SL_EADDRNOTAVAIL-99Cannot assign requested address
SL_ENETUNREACH-101Network is unreachable
SL_ENOBUFS-105No buffer space available
define SL_EISCONN-106Transport endpoint is already connected
SL_ENOTCONN-107Transport endpoint is not connected
SL_ETIMEDOUT-110Connection timed out
SL_ECONNREFUSED-111Connection refused
SL_EALREADY-114Non blocking connect in progress, try again
SL_ESEC_RSA_WRONG_TYPE_E-130RSA wrong block type for RSA function
SL_ESEC_RSA_BUFFER_E-131RSA buffer error, output too small
SL_ESEC_BUFFER_E-132Output buffer too small or input too large
SL_ESEC_ALGO_ID_E-133Setting algo id error
SL_ESEC_PUBLIC_KEY_E-134Setting public key error
SL_ESEC_DATE_E-135Setting date validity error
SL_ESEC_SUBJECT_E-136Setting subject name error
SL_ESEC_ISSUER_E-137Setting issuer name error
SL_ESEC_CA_TRUE_E-138Setting CA basic constraint true error
SL_ESEC_EXTENSIONS_E-139Setting extensions error
SL_ESEC_ASN_PARSE_E-140ASN parsing error, invalid input
SL_ESEC_ASN_VERSION_E-141ASN version error, invalid number
SL_ESEC_ASN_GETINT_E-142ASN get big _i16 error, invalid data
SL_ESEC_ASN_RSA_KEY_E-143ASN key init error, invalid input
SL_ESEC_ASN_OBJECT_ID_E-144ASN object id error, invalid id
SL_ESEC_ASN_TAG_NULL_E-145ASN tag error, not null
SL_ESEC_ASN_EXPECT_0_E-146ASN expect error, not zero
SL_ESEC_ASN_BITSTR_E-147ASN bit string error, wrong id
SL_ESEC_ASN_UNKNOWN_OID_E-148ASN oid error, unknown sum id
SL_ESEC_ASN_DATE_SZ_E-149ASN date error, bad size
SL_ESEC_ASN_BEFORE_DATE_E-150ASN date error, current date before
SL_ESEC_ASN_AFTER_DATE_E-151ASN date error, current date after
SL_ESEC_ASN_SIG_OID_E-152ASN signature error, mismatched oid
SL_ESEC_ASN_TIME_E-153ASN time error, unknown time type
SL_ESEC_ASN_INPUT_E-154ASN input error, not enough data
SL_ESEC_ASN_SIG_CONFIRM_E-155ASN sig error, confirm failure
SL_ESEC_ASN_SIG_HASH_E-156ASN sig error, unsupported hash type
SL_ESEC_ASN_SIG_KEY_E-157ASN sig error, unsupported key type
SL_ESEC_ASN_DH_KEY_E-158ASN key init error, invalid input
SL_ESEC_ASN_NTRU_KEY_E-159ASN ntru key decode error, invalid input
SL_ESEC_ECC_BAD_ARG_E-170ECC input argument of wrong type
SL_ESEC_ASN_ECC_KEY_E-171ASN ECC bad input
SL_ESEC_ECC_CURVE_OID_E-172Unsupported ECC OID curve type
SL_ESEC_BAD_FUNC_ARG-173Bad function argument provided
SL_ESEC_NOT_COMPILED_IN-174Feature not compiled in
SL_ESEC_UNICODE_SIZE_E-175Unicode password too big
SL_ESEC_NO_PASSWORD-176No password provided by user
SL_ESEC_ALT_NAME_E-177alt name size problem, too big
SL_ESEC_AES_GCM_AUTH_E-180AES-GCM Authentication check failure
SL_ESEC_AES_CCM_AUTH_E-181AES-CCM Authentication check failure
SL_ESEC_CLOSE_NOTIFY-300ssl/tls alerts
SL_ESEC_UNEXPECTED_MESSAGE-310ssl/tls alerts
SL_ESEC_BAD_RECORD_MAC-320ssl/tls alerts
SL_ESEC_DECRYPTION_FAILED-321ssl/tls alerts
SL_ESEC_RECORD_OVERFLOW-322ssl/tls alerts
SL_ESEC_DECOMPRESSION_FAILURE-330ssl/tls alerts
SL_ESEC_HANDSHAKE_FAILURE-340ssl/tls alerts
SL_ESEC_NO_CERTIFICATE-341ssl/tls alerts
SL_ESEC_BAD_CERTIFICATE-342ssl/tls alerts
SL_ESEC_UNSUPPORTED_CERTIFICATE-343ssl/tls alerts
SL_ESEC_CERTIFICATE_REVOKED-344ssl/tls alerts
SL_ESEC_CERTIFICATE_EXPIRED-345ssl/tls alerts
SL_ESEC_CERTIFICATE_UNKNOWN-346ssl/tls alerts
SL_ESEC_ILLEGAL_PARAMETER-347ssl/tls alerts
SL_ESEC_UNKNOWN_CA-348ssl/tls alerts
SL_ESEC_ACCESS_DENIED-349ssl/tls alerts
SL_ESEC_DECODE_ERROR-350ssl/tls alerts
SL_ESEC_DECRYPT_ERROR-351ssl/tls alerts
SL_ESEC_EXPORT_RESTRICTION-360ssl/tls alerts
SL_ESEC_PROTOCOL_VERSION-370ssl/tls alerts
SL_ESEC_INSUFFICIENT_SECURITY-370ssl/tls alerts
SL_ESEC_INTERNAL_ERROR-380ssl/tls alerts
SL_ESEC_USER_CANCELLED-390ssl/tls alerts
SL_ESEC_NO_RENEGOTIATION-400ssl/tls alerts
SL_ESEC_UNSUPPORTED_EXTENSION-410ssl/tls alerts
SL_ESEC_CERTIFICATE_UNOBTAINABLE-411ssl/tls alerts
SL_ESEC_UNRECOGNIZED_NAME-412ssl/tls alerts
SL_ESEC_BAD_CERTIFICATE_STATUS_RESPONSE-413ssl/tls alerts
SL_ESEC_BAD_CERTIFICATE_HASH_VALUE-414ssl/tls alerts
SL_ESECGENERAL-450Error secure level general error
SL_ESECDECRYPT-451Error secure level, decrypt recv packet fail
SL_ESECCLOSED-452Secure layrer is closed by other size , tcp is still connected
SL_ESECSNOVERIFY-453Connected without server verification
SL_ESECNOCAFILE-454Error secure level CA file not found
SL_ESECMEMORY-455Error secure level No memory space available
SL_ESECBADCAFILE-456Error secure level, bad CA file
SL_ESECBADCERTFILE-457Error secure level bad Certificate file
SL_ESECBADPRIVATEFILE-458Error secure level bad private file
SL_ESECBADDHFILE-459Error secure level bad DH file
SL_ESECT00MANYSSLOPENED-460MAX SSL Sockets are opened
SL_ESECDATEERROR-461Connected with certificate date verification error
SL_ESECHANDSHAKETIMEDOUT-462Connection timed out due to handshake time
Table 21-4 WLAN Error Codes
Error NameValueComment
SL_ERROR_KEY_ERROR-3
SL_ERROR_WIFI_NOT_CONNECTED-59
SL_ERROR_INVALID_ROLE-71
SL_ERROR_INVALID_SECURITY_TYPE-84
SL_ERROR_PASSPHRASE_TOO_LONG-85
SL_ERROR_WPS_NO_PIN_OR_WRONG_PIN_LEN-87
SL_ERROR_EAP_WRONG_METHOD-88
SL_ERROR_PASSWORD_ERROR-89
SL_ERROR_EAP_ANONYMOUS_LEN_ERROR-90
SL_ERROR_SSID_LEN_ERROR-91
SL_ERROR_USER_ID_LEN_ERROR-92
SL_ERROR_ILLEGAL_WEP_KEY_INDEX-95
SL_ERROR_INVALID_DWELL_TIME_VALUES-96
SL_ERROR_INVALID_POLICY_TYPE-97
SL_ERROR_PM_POLICY_INVALID_OPTION-98
SL_ERROR_PM_POLICY_INVALID_PARAMS-99
SL_ERROR_WIFI_ALREADY_DISCONNECTED-129
Table 21-5 NetApp Error Code
Error NameValueComment
SL_ERROR_DEVICE_NAME_LEN_ERR-117Set Device name error
SL_ERROR_DEVICE_NAME_INVALID-118Set Device name error
SL_ERROR_DOMAIN_NAME_LEN_ERR-119Set domain name error
SL_ERROR_DOMAIN_NAME_INVALID-120Set domain name error
SL_NET_APP_DNS_QUERY_NO_RESPONSE-159DNS query failed, no response
SL_NET_APP_DNS_NO_SERVER-161No DNS server was specified
SL_NET_APP_DNS_PARAM_ERROR-162mDNS parameters error
SL_NET_APP_DNS_QUERY_FAILED-163DNS query failed
SL_NET_APP_DNS_INTERNAL_1-164
SL_NET_APP_DNS_INTERNAL_2-165
SL_NET_APP_DNS_MALFORMED_PACKET-166Improperly formed or corrupted DNS packet received
SL_NET_APP_DNS_INTERNAL_3-167
SL_NET_APP_DNS_INTERNAL_4-168
SL_NET_APP_DNS_INTERNAL_5-169
SL_NET_APP_DNS_INTERNAL_6-170
SL_NET_APP_DNS_INTERNAL_7-171
SL_NET_APP_DNS_INTERNAL_8-172
SL_NET_APP_DNS_INTERNAL_9-173
SL_NET_APP_DNS_MISMATCHED_RESPONSE-174Server response type does not match the query request
SL_NET_APP_DNS_INTERNAL_10-175
SL_NET_APP_DNS_INTERNAL_11-176
SL_NET_APP_DNS_NO_ANSWER-177No response for one-shot query
SL_NET_APP_DNS_NO_KNOWN_ANSWER-178No known answer for query
SL_NET_APP_DNS_NAME_MISMATCH-179Illegal service name according to the RFC
SL_NET_APP_DNS_NOT_STARTED-180mDNS is not running
SL_NET_APP_DNS_HOST_NAME_ERROR-181Host name error
SL_NET_APP_DNS_NO_MORE_ENTRIES-182No more entries be found
SL_NET_APP_DNS_MAX_SERVICES_ERROR-200Maximum advertise services are already configured
SL_NET_APP_DNS_IDENTICAL_SERVICES_ERROR-201Trying to register a service that is already exists
SL_NET_APP_DNS_NOT_EXISTED_SERVICE_ERROR-203Trying to delete service that does not existed
SL_NET_APP_DNS_ERROR_SERVICE_NAME_ERROR-204Retry request
SL_NET_APP_DNS_RX_PACKET_ALLOCATION_ERROR-205
SL_NET_APP_DNS_BUFFER_SIZE_ERROR-206List size buffer is bigger than internally allowed in the NWP
SL_NET_APP_DNS_NET_APP_SET_ERROR-207Illegal length of one of the mDNS Set functions
SL_NET_APP_DNS_GET_SERVICE_LIST_FLAG_ERROR-208
SL_NET_APP_DNS_NO_CONFIGURATION_ERROR-209
SL_ERROR_NETAPP_RX_BUFFER_LENGTH_ERROR-230
Table 21-6 FS Error Codes
Error NameValueComment
SL_FS_OK0
SL_FS_ERR_NOT_SUPPORTED-1
SL_FS_ERR_FAILED_TO_READ-2
SL_FS_ERR_INVALID_MAGIC_NUM-3
SL_FS_ERR_DEVICE_NOT_LOADED-4
SL_FS_ERR_FAILED_TO_CREATE_LOCK_OBJ-5
SL_FS_ERR_UNKNOWN-6
SL_FS_ERR_FS_ALREADY_LOADED-7
SL_FS_ERR_FAILED_TO_CREATE_FILE-8
SL_FS_ERR_INVALID_ARGS-9
SL_FS_ERR_EMPTY_ERROR-10
SL_FS_ERR_FILE_NOT_EXISTS-11
SL_FS_ERR_INVALID_FILE_ID-12
SL_FS_ERR_READ_DATA_LENGTH-13
SL_FS_ERR_ALLOC-14
SL_FS_ERR_OFFSET_OUT_OF_RANGE-15
SL_FS_ERR_FAILED_TO_WRITE-16
SL_FS_ERR_INVALID_HANDLE-17
SL_FS_ERR_FAILED_LOAD_FILE-18
SL_FS_ERR_CONTINUE_WRITE_MUST_BE_MOD_4-19
SL_FS_ERR_FAILED_INIT_STORAGE-20
SL_FS_ERR_FAILED_READ_NVFILE-21
SL_FS_ERR_BAD_FILE_MODE-22
SL_FS_ERR_FILE_ACCESS_IS_DIFFERENT-23
SL_FS_ERR_NO_ENTRIES_AVAILABLE-24
SL_FS_ERR_PROGRAM-25
SL_FS_ERR_FILE_ALREADY_EXISTS-26
SL_FS_ERR_INVALID_ACCESS_TYPE-27
SL_FS_ERR_FILE_EXISTS_ON_DIFFERENT_DEVICE_ID-28
SL_FS_ERR_FILE_MAX_SIZE_BIGGER_THAN_EXISTING_FILE-29
SL_FS_ERR_NO_AVAILABLE_BLOCKS-30
SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_1-31
SL_FS_ERR_FAILED_TO_READ_INTEGRITY_HEADER_2-32
SL_FS_ERR_FAILED_TO_ALLOCATE_MEM-33
SL_FS_ERR_NO_AVAILABLE_NV_INDEX-34
SL_FS_ERR_FAILED_WRITE_NVMEM_HEADER-35
SL_FS_ERR_DEVICE_IS_NOT_FORMATTED-36
SL_FS_WARNING_FILE_NAME_NOT_KEPT-37
SL_FS_ERR_SIZE_OF_FILE_EXT_EXCEEDED-38
SL_FS_ERR_FILE_IMAGE_IS_CORRUPTED-39
SL_FS_INVALID_BUFFER_FOR_WRITE-40
SL_FS_INVALID_BUFFER_FOR_READ-41
SL_FS_FILE_MAX_SIZE_EXCEEDED-42
SL_FS_ERR_MAX_FS_FILES_IS_SMALLER-43
SL_FS_ERR_MAX_FS_FILES_IS_LARGER-44
SL_FS_FILE_HAS_RESERVED_NV_INDEX-45
SL_FS_ERR_OVERLAP_DETECTION_THRESHHOLD-46
SL_FS_DATA_IS_NOT_ALIGNED-47
SL_FS_DATA_ADDRESS_SHOUD_BE_IN_DATA_RAM-48
SL_FS_NO_DEVICE_IS_LOADED-49
SL_FS_ERR_TOKEN_IS_NOT_VALID-50
SL_FS_FILE_UNVALID_FILE_SIZE-51
SL_FS_SECURITY_ALLERT-52
SL_FS_FILE_SYSTEM_IS_LOCKED-53
SL_FS_WRONG_FILE_NAME-54
SL_FS_ERR_FAILED_READ_NVMEM_HEADER-55
SL_FS_ERR_INCORRECT_OFFSET_ALIGNMENT-56
SL_FS_SECURE_FILE_MUST_BE_COMMIT-57
SL_FS_SECURITY_BUF_ALREADY_ALLOC-58
SL_FS_FILE_NAME_EXIST-59
SL_FS_CERT_CHAIN_ERROR-60
SL_FS_NOT_16_ALIGNED-61
SL_FS_WRONG_SIGNATURE_OR_CERTIFIC_NAME_LENGTH-62
SL_FS_WRONG_SIGNATURE-63
SL_FS_FILE_HAS_NOT_BEEN_CLOSE_CORRECTLY-64
SL_FS_ERASING_FLASH-65
SL_FS_ERR_FILE_IS_NOT_SECURE_AND_SIGN-66
SL_FS_ERR_EMPTY_SFLASH-67
Table 21-7 Rx Filter Error Codes
Error NameValueComment
RXFL_OK0
RXFL_NUMBER_OF_FILTER_EXCEEDED23Number of max filters excceded
RXFL_NO_FILTERS_ARE_DEFINED24No filters are defined in the system
RXFL_UPDATE_NOT_SUPPORTED31Update not supported
RXFL_RULE_HEADER_FIELD_ID_OUT_OF_RANGE32rule field Id is out of range
RXFL_RULE_HEADER_COMBINATION_OPERATOR_OUT_OF_
RANGE
33Combination function Id is out of range
RXFL_RULE_HEADER_OUT_OF_RANGE34The header rule is out of range
RXFL_RULE_HEADER_NOT_SUPPORTED35The header rule is not supported on current release
RXFL_RULE_HEADER_FIELD_ID_ASCII_NOT_SUPPORTED36This ASCII field ID is not supported
RXFL_RULE_FIELD_ID_NOT_SUPPORTED37Rule field ID is out of range
RXFL_FRAME_TYPE_NOT_SUPPORTED38ASCII frame type string is illegal
RXFL_RULE_HEADER_COMPARE_FUNC_OUT_OF_RANGE39The rule compare function is out of range
RXFL_RULE_HEADER_TRIGGER_OUT_OF_RANGE40The Trigger is out of range
RXFL_RULE_HEADER_TRIGGER_COMPARE_FUNC_OUT_OF_
RANGE
41The Trigger comparison function is out of range
RXFL_RULE_HEADER_ACTION_TYPE_NOT_SUPPORTED42The action type is not supported
RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_143The parent filter is null
RXFL_DEPENDENT_FILTER_DO_NOT_EXIST_244The parent filter don't exist
RXFL_DEPENDENT_FILTER_SYSTEM_STATE_DO_NOT_FIT45The filter and its dependency system state don't fit
RXFL_DEPENDENT_FILTER_LAYER_DO_NOT_FIT46The filter and its dependency should be from the same layer
RXFL_ACTION_NO_REG_NUMBER47Action require counter number
RXFL_NUMBER_OF_ARGS_EXCEEDED48Number of arguments exceeded
RXFL_DEPEDENCY_NOT_ON_THE_SAME_LAYER49The filter and its dependency must be on the same layer
RXFL_FILTER_DO_NOT_EXISTS50The filter doesn't exists
RXFL_DEPENDENT_FILTER_DEPENDENCY_ACTION_IS_DROP51The dependent filter has Drop action, thus the filter can't be created
RXFL_NUMBER_OF_CONNECTION_POINTS_EXCEEDED52Number of connection points exceeded
RXFL_DEPENDENCY_IS_DISABLED58Can't enable filer in case its dependency filter is disabled
RXFL_CHILD_IS_ENABLED59Can't disable filter while the child is enabled
RXFL_FILTER_HAS_CHILDS60The filter has children and can't be removed
RXFL_DEPENDENT_FILTER_IS_NOT_ENABLED61The dependency filter is not enabled
RXFL_DEPENDENT_FILTER_IS_NOT_PERSISTENT62The dependency filter is not persistent
RXFL_WRONG_MULTICAST_ADDRESS63The address should be of multicast type
RXFL_WRONG_COMPARE_FUNC_FOR_BROADCAST_ADDRESS64The compare funcion is not suitable for broadcast address
RXFL_THE_FILTER_IS_NOT_OF_HEADER_TYPE65The filter should be of header type
RXFL_WRONG_MULTICAST_BROADCAST_ADDRESS66The address should be of type multicast or broadcast
RXFL_FIELD_SUPPORT_ONLY_EQUAL_AND_NOTEQUAL67Rule compare function Id is out of range
RXFL_ACTION_USE_REG1_TO_REG468Only counters 1 - 4 are allowed, for action
RXFL_ACTION_USE_REG5_TO_REG869Only counters 5 - 8 are allowed, for action
RXFL_TRIGGER_USE_REG1_TO_REG470Only counters 1 - 4 are allowed, for trigger
RXFL_TRIGGER_USE_REG5_TO_REG871Only counters 5 - 8 are allowed, for Tigger
RXFL_SYSTEM_STATE_NOT_SUPPORTED_FOR_THIS_FILTER72System state is not supported
RXFL_DEPENDENCY_IS_NOT_PERSISTENT74Dependency filter is not persistent
RXFL_DEPENDENT_FILTER_SOFTWARE_FILTER_NOT_FIT75Node filter can't be child of software filter and vice versa
RXFL_OUTPUT_OR_INPUT_BUFFER_LENGTH_TOO_SMALL76The output buffer length is smaller than required for that operation