3.2.6.8.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 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;
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 */ }SYS_RNWF_WIFI_PARAM_t;
RNWF Wi-Fi Security Enum
Wi-Fi security
modes.
typedef enum { SYS_RNWF_OPEN, /**<OPEN mode, no security*/ SYS_RNWF_RSVD, SYS_RNWF_WPA2_MIXED, /**<WPA2 Mixed mode TKIP/CCMP*/ SYS_RNWF_WPA2, /**<WPA2 CCMP*/ SYS_RNWF_WPA3_TRANS, /**<WPA3 Transition Mode*/ SYS_RNWF_WPA3, /**<WPA3 mode*/ }SYS_RNWF_WIFI_SECURITY_t;