Package wifi
SLWifi4Manager #sleela 2.5 (lib/wifi/SLWifi4Manager.sleela)
SLWifi4Manager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
model | Wifi4Model model | No description in source. |
manager | SLWifiManager manager | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
generation | String generation() | No description in source. |
standard | String standard() | No description in source. |
supportsChannelWidth | boolean supportsChannelWidth(int widthMHz) | No description in source. |
supportsSpatialStreams | boolean supportsSpatialStreams(int streams) | No description in source. |
needsRuntimeDiscovery | boolean needsRuntimeDiscovery() | No description in source. |
wifiManager | SLWifiManager wifiManager() | No description in source. |
SLWifi5Manager #sleela 2.5 (lib/wifi/SLWifi5Manager.sleela)
SLWifi5Manager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
model | Wifi5Model model | No description in source. |
manager | SLWifiManager manager | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
generation | String generation() | No description in source. |
standard | String standard() | No description in source. |
supportsChannelWidth | boolean supportsChannelWidth(int widthMHz) | No description in source. |
supportsSpatialStreams | boolean supportsSpatialStreams(int streams) | No description in source. |
needsRuntimeDiscovery | boolean needsRuntimeDiscovery() | No description in source. |
wifiManager | SLWifiManager wifiManager() | No description in source. |
SLWifi6Manager #sleela 2.5 (lib/wifi/SLWifi6Manager.sleela)
SLWifi6Manager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
model | Wifi6Model model | No description in source. |
manager | SLWifiManager manager | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
generation | String generation() | No description in source. |
standard | String standard() | No description in source. |
supportsChannelWidth | boolean supportsChannelWidth(int widthMHz) | No description in source. |
supportsSpatialStreams | boolean supportsSpatialStreams(int streams) | No description in source. |
needsRuntimeDiscovery | boolean needsRuntimeDiscovery() | No description in source. |
allows6GHzAsGenericWifi6 | boolean allows6GHzAsGenericWifi6() | No description in source. |
wifiManager | SLWifiManager wifiManager() | No description in source. |
SLWifiCredentials #sleela 2.5 (lib/wifi/SLWifiCredentials.sleela)
SLWifiCredentials class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OS_MANAGED | static final int OS_MANAGED = 0 | No description in source. |
SAVED_PROFILE | static final int SAVED_PROFILE = 1 | No description in source. |
PASSPHRASE | static final int PASSPHRASE = 2 | No description in source. |
ENTERPRISE_PASSWORD | static final int ENTERPRISE_PASSWORD = 3 | No description in source. |
mode | int mode | No description in source. |
profileName | String profileName | No description in source. |
username | String username | No description in source. |
password | String password | No description in source. |
caCertificateFile | String caCertificateFile | No description in source. |
expectedServerName | String expectedServerName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureOSManaged | void configureOSManaged() | No description in source. |
configureSavedProfile | void configureSavedProfile(String name) | No description in source. |
configurePassphrase | void configurePassphrase(String passphrase) | No description in source. |
configureEnterprise | void configureEnterprise(String user, String secret, String caFile, String serverName) | No description in source. |
isValid | boolean isValid() | No description in source. |
clearFields | void clearFields() | No description in source. |
clear | void clear() | No description in source. |
prefersOSAuthentication | boolean prefersOSAuthentication() | No description in source. |
SLWifiManager #sleela 2.5 (lib/wifi/SLWifiManager.sleela)
SLWifiManager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
STATE_NEW | static final int STATE_NEW = 0 | No description in source. |
STATE_BRIDGE_READY | static final int STATE_BRIDGE_READY = 1 | No description in source. |
STATE_SCANNING | static final int STATE_SCANNING = 2 | No description in source. |
STATE_SCANNED | static final int STATE_SCANNED = 3 | No description in source. |
STATE_CONNECTING | static final int STATE_CONNECTING = 4 | No description in source. |
STATE_CONNECTED | static final int STATE_CONNECTED = 5 | No description in source. |
STATE_DISCONNECTED | static final int STATE_DISCONNECTED = 6 | No description in source. |
STATE_FAILED | static final int STATE_FAILED = 7 | No description in source. |
STATE_DISCONNECTING | static final int STATE_DISCONNECTING = 8 | No description in source. |
nativeHandle | int nativeHandle | No description in source. |
state | int state | No description in source. |
lastStatus | int lastStatus | No description in source. |
lastScanCount | int lastScanCount | No description in source. |
selectedNetwork | SLWifiNetwork selectedNetwork | No description in source. |
policy | SLWifiSecurityPolicy policy | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
bindNativeHandle | boolean bindNativeHandle(int handle) | No description in source. |
nativeReady | boolean nativeReady() | No description in source. |
handle | int handle() | No description in source. |
managerState | int managerState() | No description in source. |
status | int status() | No description in source. |
scanCount | int scanCount() | No description in source. |
securityPolicy | SLWifiSecurityPolicy securityPolicy() | No description in source. |
beginScanRequest | int beginScanRequest() | No description in source. |
acceptScanResult | int acceptScanResult(int statusCode, int count) | No description in source. |
selectNetwork | boolean selectNetwork(SLWifiNetwork network) | No description in source. |
authorizeConnection | int authorizeConnection(SLWifiCredentials credentials) | No description in source. |
beginConnectRequest | int beginConnectRequest(SLWifiCredentials credentials) | No description in source. |
acceptConnectionResult | int acceptConnectionResult(int statusCode) | No description in source. |
beginDisconnectRequest | int beginDisconnectRequest() | No description in source. |
acceptDisconnectResult | int acceptDisconnectResult(int statusCode) | No description in source. |
clearCredentials | void clearCredentials(SLWifiCredentials credentials) | No description in source. |
reset | void reset() | No description in source. |
SLWifiNetwork #sleela 2.5 (lib/wifi/SLWifiNetwork.sleela)
SLWifiNetwork class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
ssid | String ssid | No description in source. |
bssid | String bssid | No description in source. |
channel | int channel | No description in source. |
frequencyMHz | int frequencyMHz | No description in source. |
signalPercent | int signalPercent | No description in source. |
security | int security | No description in source. |
inUse | int inUse | No description in source. |
protectedManagementFrames | int protectedManagementFrames | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String networkSsid, String accessPointBssid, int channelNumber, | No description in source. |
hasIdentity | boolean hasIdentity() | No description in source. |
signalIsValid | boolean signalIsValid() | No description in source. |
pmfIsKnown | boolean pmfIsKnown() | No description in source. |
pmfIsEnabled | boolean pmfIsEnabled() | No description in source. |
connected | boolean connected() | No description in source. |
networkName | String networkName() | No description in source. |
accessPointAddress | String accessPointAddress() | No description in source. |
securityKind | int securityKind() | No description in source. |
signalStrengthPercent | int signalStrengthPercent() | No description in source. |
channelNumber | int channelNumber() | No description in source. |
frequencyInMHz | int frequencyInMHz() | No description in source. |
SLWifiOOD #sleela 2.5 (lib/wifi/SLWifiOOD.sleela)
SLWifiOOD class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
title | String title | No description in source. |
manager | SLWifiManager manager | No description in source. |
visible | int visible | No description in source. |
selectedIndex | int selectedIndex | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String panelTitle) | No description in source. |
open | void open() | No description in source. |
close | void close() | No description in source. |
isVisible | boolean isVisible() | No description in source. |
panelTitle | String panelTitle() | No description in source. |
wifiManager | SLWifiManager wifiManager() | No description in source. |
beginRefresh | int beginRefresh() | No description in source. |
disconnect | int disconnect() | No description in source. |
chooseNetwork | boolean chooseNetwork(int index, SLWifiNetwork network) | No description in source. |
selectedNetworkIndex | int selectedNetworkIndex() | No description in source. |
resetSelection | void resetSelection() | No description in source. |
SLWifiSecurity #sleela 2.5 (lib/wifi/SLWifiSecurity.sleela)
SLWifiSecurity class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
UNKNOWN | static final int UNKNOWN = 0 | No description in source. |
OPEN | static final int OPEN = 1 | No description in source. |
WEP | static final int WEP = 2 | No description in source. |
WPA_PERSONAL | static final int WPA_PERSONAL = 3 | No description in source. |
WPA2_PERSONAL | static final int WPA2_PERSONAL = 4 | No description in source. |
WPA3_PERSONAL | static final int WPA3_PERSONAL = 5 | No description in source. |
OWE | static final int OWE = 6 | No description in source. |
WPA_ENTERPRISE | static final int WPA_ENTERPRISE = 7 | No description in source. |
WPA2_ENTERPRISE | static final int WPA2_ENTERPRISE = 8 | No description in source. |
WPA3_ENTERPRISE | static final int WPA3_ENTERPRISE = 9 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
rank | int rank(int security) | No description in source. |
name | String name(int security) | No description in source. |
isEnterprise | boolean isEnterprise(int security) | No description in source. |
isPersonal | boolean isPersonal(int security) | No description in source. |
isLegacy | boolean isLegacy(int security) | No description in source. |
SLWifiSecurityPolicy #sleela 2.5 (lib/wifi/SLWifiSecurityPolicy.sleela)
SLWifiSecurityPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
DEFAULT_MINIMUM_SECURITY_RANK | static final int DEFAULT_MINIMUM_SECURITY_RANK = 4 | No description in source. |
minimumSecurityRank | int minimumSecurityRank | No description in source. |
allowOpenNetworks | int allowOpenNetworks | No description in source. |
allowLegacyWep | int allowLegacyWep | No description in source. |
requireEnterpriseTlsValidation | int requireEnterpriseTlsValidation | No description in source. |
requireProtectedManagementFrames | int requireProtectedManagementFrames | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureDefaults | void configureDefaults() | No description in source. |
valid | boolean valid() | No description in source. |
binaryValue | boolean binaryValue(int value) | No description in source. |
allows | boolean allows(int security) | No description in source. |
allowsNetwork | boolean allowsNetwork(SLWifiNetwork network) | No description in source. |
setMinimumSecurityRank | void setMinimumSecurityRank(int rank) | No description in source. |
SLWifiStatus #sleela 2.5 (lib/wifi/SLWifiStatus.sleela)
SLWifiStatus class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OK | static final int OK = 0 | No description in source. |
INVALID_ARGUMENT | static final int INVALID_ARGUMENT = 1 | No description in source. |
BACKEND_UNAVAILABLE | static final int BACKEND_UNAVAILABLE = 2 | No description in source. |
BACKEND_ERROR | static final int BACKEND_ERROR = 3 | No description in source. |
BUFFER_TOO_SMALL | static final int BUFFER_TOO_SMALL = 4 | No description in source. |
NETWORK_NOT_FOUND | static final int NETWORK_NOT_FOUND = 5 | No description in source. |
POLICY_BLOCKED | static final int POLICY_BLOCKED = 6 | No description in source. |
AUTH_REQUIRED | static final int AUTH_REQUIRED = 7 | No description in source. |
NOT_CONNECTED | static final int NOT_CONNECTED = 8 | No description in source. |
BRIDGE_REQUIRED | static final int BRIDGE_REQUIRED = 9 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
name | String name(int code) | No description in source. |
succeeded | boolean succeeded(int code) | No description in source. |
failed | boolean failed(int code) | No description in source. |
ValidateWifi4 #sleela 2.5 (lib/wifi/4/examples/ValidateWifi4.sleela)
No class declaration parsed.
ValidateWifi5 #sleela 2.5 (lib/wifi/5/examples/ValidateWifi5.sleela)
No class declaration parsed.
ValidateWifi6 #sleela 2.5 (lib/wifi/6/examples/ValidateWifi6.sleela)
No class declaration parsed.
Wifi4Model #sleela 2.5 (lib/wifi/4/Wifi4Model.sleela)
Wifi4Profile struct
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
generation | String generation | No description in source. |
ieee | String ieee | No description in source. |
supports24GHz | int supports24GHz | No description in source. |
supports5GHz | int supports5GHz | No description in source. |
maxChannelWidthMHz | int maxChannelWidthMHz | No description in source. |
maxSpatialStreams | int maxSpatialStreams | No description in source. |
maxQamOrder | int maxQamOrder | No description in source. |
theoreticalPeakMbps | int theoreticalPeakMbps | No description in source. |
requiresRuntimeCapabilityDiscovery | int requiresRuntimeCapabilityDiscovery | No description in source. |
Wifi4Model class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
standardProfile | Wifi4Profile standardProfile() | No description in source. |
isValidChannelWidth | int isValidChannelWidth(int widthMHz) | No description in source. |
isValidSpatialStreamCount | int isValidSpatialStreamCount(int streams) | No description in source. |
needsRuntimeDiscovery | int needsRuntimeDiscovery() | No description in source. |
Wifi5Model #sleela 2.5 (lib/wifi/5/Wifi5Model.sleela)
Wifi5Profile struct
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
generation | String generation | No description in source. |
ieee | String ieee | No description in source. |
supports24GHz | int supports24GHz | No description in source. |
supports5GHz | int supports5GHz | No description in source. |
maxChannelWidthMHz | int maxChannelWidthMHz | No description in source. |
maxSpatialStreams | int maxSpatialStreams | No description in source. |
maxQamOrder | int maxQamOrder | No description in source. |
theoreticalPeakMbps | int theoreticalPeakMbps | No description in source. |
requiresRuntimeCapabilityDiscovery | int requiresRuntimeCapabilityDiscovery | No description in source. |
Wifi5Model class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
standardProfile | Wifi5Profile standardProfile() | No description in source. |
isValidChannelWidth | int isValidChannelWidth(int widthMHz) | No description in source. |
isValidSpatialStreamCount | int isValidSpatialStreamCount(int streams) | No description in source. |
needsRuntimeDiscovery | int needsRuntimeDiscovery() | No description in source. |
Wifi6Model #sleela 2.5 (lib/wifi/6/Wifi6Model.sleela)
Wifi6Profile struct
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
generation | String generation | No description in source. |
ieee | String ieee | No description in source. |
supports24GHz | int supports24GHz | No description in source. |
supports5GHz | int supports5GHz | No description in source. |
supports6GHzByDefault | int supports6GHzByDefault | No description in source. |
maxChannelWidthMHz | int maxChannelWidthMHz | No description in source. |
maxSpatialStreams | int maxSpatialStreams | No description in source. |
maxQamOrder | int maxQamOrder | No description in source. |
theoreticalPeakMbps | int theoreticalPeakMbps | No description in source. |
supportsOfdma | int supportsOfdma | No description in source. |
supportsMuMimo | int supportsMuMimo | No description in source. |
supportsBssColoring | int supportsBssColoring | No description in source. |
supportsTargetWakeTime | int supportsTargetWakeTime | No description in source. |
requiresRuntimeCapabilityDiscovery | int requiresRuntimeCapabilityDiscovery | No description in source. |
Wifi6Model class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
standardProfile | Wifi6Profile standardProfile() | No description in source. |
isValidChannelWidth | int isValidChannelWidth(int widthMHz) | No description in source. |
isValidSpatialStreamCount | int isValidSpatialStreamCount(int streams) | No description in source. |
needsRuntimeDiscovery | int needsRuntimeDiscovery() | No description in source. |
allows6GHzAsGenericWifi6 | int allows6GHzAsGenericWifi6() | No description in source. |
WifiOODPolicySmoke #sleela 2.5 (lib/wifi/examples/WifiOODPolicySmoke.sleela)
WifiOODPolicySmoke class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
run | int run() | No description in source. |