3.1.7.7.1 Wi-Fi System Interface
- RNWF Wi-Fi Mode Enum
- RNWF Wi-Fi Parameters Struct
- RNWF Wi-Fi Security Enum
- RNWF Wi-Fi Bluetooth Co-existence Interface Type Enum
- RNWF Wi-Fi Bluetooth Co-existence Arbiter Antenna Mode Enum
- RNWF Wi-Fi Bluetooth Co-existence Parameters Struct
RNWF Wi-Fi Mode Enum
Sets the Wi-Fi mode of
operation
typedef enum { RNWF_WIFI_MODE_STA, /**<Station (STA) mode of WiFi operation*/ RNWF_WIFI_MODE_AP, /**<Software Access Point (SoftAP) mode of WiFi operation*/ }RNWF_WIFI_MODE_t;
RNWF Wi-Fi Parameters Struct
The Wi-Fi parameters are listed
below:
typedef struct { 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*/ RNWF_WIFI_SECURITY_t security; /**<Wi-Fi Secrity mode ::RNWF_WIFI_SECURITY_t */ uint8_t autoconnect; /**<Wi-Fi autoconnect, SoftAP */ /* feature additions from FW v2.0.0*/ uint8_t channelNo; /**<Wi-Fi channel number for Home AP or SoftAP */ uint32_t connTimeout; /**<Wi-Fi STA mode: Connection timeout in milliseconds */ const char* bssid; /**<Wi-Fi STA mode: The BSSID of the network to connect to */ }RNWF_WIFI_PARAM_t;
RNWF Wi-Fi Security Enum
Wi-Fi security
modes.
typedef enum { RNWF_OPEN, /**<OPEN mode, no security*/ RNWF_RSVD, RNWF_WPA2_MIXED, /**<WPA2 Mixed mode TKIP/CCMP*/ RNWF_WPA2, /**<WPA2 CCMP*/ RNWF_WPA3_TRANS, /**<WPA3 Transition Mode*/ RNWF_WPA3, /**<WPA3 mode*/ }RNWF_WIFI_SECURITY_t;
RNWF Wi-Fi Bluetooth Co-existence Interface Type Enum
Enum for Wi-Fi Bluetooth co-existence interface type
values
/* feature additions from FW v2.0.0*/ typedef enum { THREE_WIRE = 0, /**<3-wire interface (BT_Act, BT_Prio, WLAN_Act) */ TWO_WIRE = 1, /**<2-wire interface (BT_Prio, WLAN_Act) */ }RNWF_COEX_INTF_TYPE_t;
RNWF Wi-Fi Bluetooth Co-existence Arbiter Antenna Mode Enum
Enum for Wi-Fi Bluetooth co-existence arbiter antenna mode
values
/* feature additions from FW v2.0.0*/ typedef enum { DEDICATED = 0, /**<Co-existence arbiter antenna mode - Dedicated Antenna */ SHARED = 1, /**<Co-existence arbiter antenna mode - Shared Antenna */ }RNWF_COEX_ANTENNA_MODE_t;
RNWF Wi-Fi Bluetooth Co-existence Parameters Struct
Sets Wi-Fi Bluetooth co-existence parameter
configurations
/* feature additions from FW v2.0.0*/ typedef struct { /**<Wi-Fi/BT co-existence arbiter: 0 - Disabled, 1 - Enabled */ bool isCoExEnabled; /**<Wi-Fi/BT co-existence arbiter interface type */ /**<0: 3-wire interface (BT_Act, BT_Prio, WLAN_Act) */ /**<1: 2-wire interface (BT_Prio, WLAN_Act) */ RNWF_COEX_INTF_TYPE_t interfaceType; /**<Wi-Fi/BT co-existence arbiter WLAN RX priority over BT */ /**<0: WLAN Rx priority lower than BT Low Priority */ /**<1: WLAN Rx priority higher than BT Low Priority */ bool isWlanRxPrio; /**<Wi-Fi/BT co-existence arbiter WLAN TX priority over BT */ /**<0: WLAN Tx priority lower than BT Low Priority */ /**<1: WLAN Tx priority higher than BT Low Priority */ bool isWlanTxPrio; /**<Wi-Fi/BT co-existence arbiter antenna mode: 0 - Dedicated antenna, 1 - Shared antenna */ RNWF_COEX_ANTENNA_MODE_t antennaMode; }RNWF_WIFI_BT_COEX_t;