WiFiParams

data class WiFiParams(var ssid: String?, var bssid: String?, var rssi: String?, var auth: Int?)

WiFiParams is a data class that represents the parameters of a Wi-Fi network discovered by a Bluetooth device, such as its SSID, BSSID, signal strength (RSSI), and authentication type.

This class is typically used to store and transfer information about available Wi-Fi networks during Bluetooth interactions, allowing a user to connect to a Wi-Fi network.

Constructors

Link copied to clipboard
constructor(ssid: String?, bssid: String?, rssi: String?, auth: Int?)

Properties

Link copied to clipboard
var auth: Int?

0 WIFI_AUTH_OPEN
1 WIFI_AUTH_WEP
2 WIFI_AUTH_WPA_PSK
3 WIFI_AUTH_WPA2_PSK
4 WIFI_AUTH_WPA_WPA2_PSK
5 WIFI_AUTH_WPA2_ENTERPRISE
6 WIFI_AUTH_WPA3_PSK
7 WIFI_AUTH_WPA2_WPA3_PSK
8 WIFI_AUTH_WAPI_PSK
9 WIFI_AUTH_OWE
10 WIFI_AUTH_WPA3_ENT_192
11 WIFI_AUTH_WPA3_EXT_PSK
12 WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE

Link copied to clipboard

The BSSID (Basic Service Set Identifier) of the Wi-Fi access point.

Link copied to clipboard
var rssi: String?

The Received Signal Strength Indicator (RSSI) value, representing the signal strength.

Link copied to clipboard
var ssid: String?

The SSID (Service Set Identifier) of the Wi-Fi network.