3.2.8.7.1 Wi-Fi System Interface
- SYS_RNWF Wi-Fi Mode Enum
- SYS_RNWF Wi-Fi Parameters Struct
- SYS_RNWF Wi-Fi Security Enum
- SYS_RNWF Wi-Fi Bluetooth Interface Type Enum
- SYS_RNWF Wi-Fi Bluetooth Antenna Mode Enum
SYS_RNWF Wi-Fi Mode Enum
Sets the Wi-Fi mode of
operation
typedef enum { SYS_RNWF_WIFI_MODE_STA, /**<Station (STA) mode of WiFi operation*/ SYS_RNWF_WIFI_MODE_AP, /**<Software Access Point (SoftAP) mode of WiFi operation*/ }SYS_RNWF_WIFI_MODE_t;
SYS_RNWF Wi-Fi Parameters Struct
The Wi-Fi parameters are listed
below:
typedef struct { SYS_RNWF_WIFI_MODE_t mode; /**<Wi-Fi operation mode ::RNWF_WIFI_MODE_t either STA or SoftAP */ const char *ssid; /**<Wi-Fi SSID of Home AP or SoftAP */ const char *passphrase; /**<Wi-Fi Passphrase of Home AP or SoftAP*/ SYS_RNWF_WIFI_SECURITY_t security; /**<Wi-Fi Secrity mode ::RNWF_WIFI_SECURITY_t */ uint8_t autoconnect; /**<Wi-Fi autoconnect, SoftAP */ uint8_t channel; /**Wi-Fi Operating Channel Number*/ bool ssidVisibility; /**<Wi-Fi SSID Visibility*/ }SYS_RNWF_WIFI_PARAM_t;
SYS_RNWF Wi-Fi Security Enum
Wi-Fi security
modes.
typedef enum { /**<OPEN mode, no security*/ SYS_RNWF_WIFI_SECURITY_OPEN, /**<RSVD mode*/ SYS_RNWF_WIFI_RSVD, /**<WPA2 Mixed mode TKIP/CCMP*/ SYS_RNWF_WIFI_SECURITY_WPA2_MIXED, /**<WPA2 CCMP*/ SYS_RNWF_WIFI_SECURITY_WPA2, /**<WPA3 Transition Mode*/ SYS_RNWF_WIFI_SECURITY_WPA3_TRANS, /**<WPA3 mode*/ SYS_RNWF_WIFI_SECURITY_WPA3, }SYS_RNWF_WIFI_SECURITY_t;
SYS_RNWF Wi-Fi Bluetooth Interface Type Enum
BT/Wi-Fi coexistence arbiter interface type
/**<BT/Wi-Fi coexistence arbiter interface type*/ typedef enum { THREE_WIRE, /**<(BT_Act, BT_Prio, WLAN_Act)*/ TWO_WIRE, /**< (BT_Prio, WLAN_Act)*/ }SYS_RNWF_WIFI_BT_INF_TYP;
SYS_RNWF Wi-Fi Bluetooth Antenna Mode Enum
BT/Wi-Fi coexistence arbiter antenna mode
/**<BT/Wi-Fi coexistence arbiter antenna mode*/
typedef enum
{
Dedicated_Antenna,
Shared_Antenna,
}ANTENNA_MODE;