Class WiFiNetwork
java.lang.Object
com.codename1.io.wifi.WiFiNetwork
One entry in a WiFi scan result. Immutable.
-
Constructor Summary
ConstructorsConstructorDescriptionWiFiNetwork(String ssid, String bssid, int rssi, int frequency, WiFiSecurity security) -
Method Summary
Modifier and TypeMethodDescriptiongetBSSID()Access point MAC address (colon-separated lowercase hex).intChannel frequency in MHz (e.g. 2412 for channel 1 on 2.4 GHz).intgetRssi()Received signal strength in dBm (negative values; closer to zero is stronger).Security mode advertised by the AP.getSSID()Human-readable network name.
-
Constructor Details
-
WiFiNetwork
-
-
Method Details
-
getSSID
Human-readable network name. May be empty for hidden networks. -
getBSSID
Access point MAC address (colon-separated lowercase hex). -
getRssi
public int getRssi()Received signal strength in dBm (negative values; closer to zero is stronger). Typical range: -30 (excellent) to -90 (unusable). -
getFrequency
public int getFrequency()Channel frequency in MHz (e.g. 2412 for channel 1 on 2.4 GHz). -
getSecurity
Security mode advertised by the AP. SeeWiFiSecurity.
-