4.1.8.6.1 Wi-Fi System Interface

  1. SYS_WINCS_WIFI_MODE_t enum
  2. SYS_WINCS_WIFI_PARAM_t
  3. SYS_WINCS_WIFI_SECURITY_t struct
  4. SYS_WINCS_WIFI_COEX_CFG struct

  5. SYS_WINCS_WIFI_SCAN_PARAM_t structure

    SYS_WINCS Wi-Fi Mode EnumSets the Wi-Fi mode of operation
    typedefenum {
        SYS_WINCS_WIFI_MODE_STA, /**<Station (STA) mode of WiFi operation*/
        SYS_WINCS_WIFI_MODE_AP,  /**<Software Access Point (SoftAP) mode of WiFi operation*/
    }SYS_WINCS_WIFI_MODE_t;
    WINCS Wi-Fi Parameters StructThe Wi-Fi parameters are listed below:
    typedef struct
    {
        /**< Wi-Fi operation mode ::SYS_WINCS_WIFI_MODE_t either STA (Station) or SoftAP (Software Access Point) */
        SYS_WINCS_WIFI_MODE_t     mode;      
    
        /**< Wi-Fi SSID (Service Set Identifier) of Home AP (Access Point) or SoftAP */
        const char                *ssid;              
    
        /**< Wi-Fi Passphrase of Home AP or SoftAP */
        const char                *passphrase;   
    
        /**< Wi-Fi Security mode ::SYS_WINCS_WIFI_SECURITY_t */
        SYS_WINCS_WIFI_SECURITY_t security;  
    
        /**< Wi-Fi autoconnect flag, indicates whether to automatically connect to the network */
        uint8_t                   autoConnect;   
    
        /**< Wi-Fi channel number */
        uint8_t                   channel;
    
        /**< SSID visibility flag, indicates whether the SSID is hidden (true) or visible (false) */
        bool                      ssidVisibility;
    
    } SYS_WINCS_WIFI_PARAM_t;
    WINCS Wi-Fi Security EnumWi-Fi security modes.
    typedef enum 
    {
        /**<OPEN mode, no security*/
        SYS_WINCS_WIFI_SECURITY_OPEN = 0,              
    
        /* WPA2 mixed mode (AP) / compatibility mode (STA) with PSK.
         * (As an AP GTK is TKIP, as a STA GTK is chosen by AP;
         * PTK can be CCMP or TKIP) */
        SYS_WINCS_WIFI_SECURITY_WPA2_MIXED = 2,            
    
        /* WPA2-only authentication with PSK. (PTK and GTK are both CCMP).       */
        /* Note that a WPA2-only STA will not connect to a WPA2 mixed mode AP.   */
        SYS_WINCS_WIFI_SECURITY_WPA2 = 3,                  
    
        /* WPA3 SAE transition mode. (CCMP, IGTK can be BIP or none) */
        SYS_WINCS_WIFI_SECURITY_WPA3_TRANS = 4,            
    
        /* WPA3 SAE authentication. (CCMP, IGTK is BIP) */
        SYS_WINCS_WIFI_SECURITY_WPA3 = 5,   
    
    } SYS_WINCS_WIFI_SECURITY_t;

    SYS_WINCS_WIFI_COEX_CFG struct Wi-Fi Bt coexistence confgurations.

    SYS_WINCS_WIFI_COEX_CFG struct
    
    typedef struct
    {
        /** Indicates if 2-wire coexistence interface is used. */
        bool use2Wire;
    
        /** Indicates if WLAN RX has higher priority than Bluetooth. */
        bool wlanRxHigherThanBt;
    
        /** Indicates if WLAN TX has higher priority than Bluetooth. */
        bool wlanTxHigherThanBt;
    
        /** Indicates if WLAN and Bluetooth share the same antenna. */
        bool sharedAntenna;
    } SYS_WINCS_WIFI_COEX_CFG;
    

    SYS_WINCS_WIFI_SCAN_PARAM_t structure scan configurations.

    SYS_WINCS_WIFI_SCAN_PARAM_t structure
    typedef struct 
    {
        /**< Wi-Fi channel number to scan */
        uint8_t channel;
    
        /**< Duration of the scan time in milliseconds */
        uint16_t scanTime;
    
    } SYS_WINCS_WIFI_SCAN_PARAM_t;