Interface IHostapInfo
interface IHostapInfo
Extends com.amazon.apmf.IStandard
Represents an Hostap.
Methods
setSsid()
Set Service Set Identifier (SSID). A valid SSID is 0-32 octets with UTF-8 encoding.voidsetSsid(stringssid)
Parameters
ssid
string — Required
SSID.
getSsid()
string? getSsid()
Get Service Set Identifier (SSID).
Returns
string?
The return value is optional and might be absent.
SSID.
setPassphrase()
Set the passphrase for WPA2-PSK or WPA3-SAE. A valid passphrase is 8-63 octets with ASCII encoding or 64 octets with HEX characters. The passphrase for WPA3-SAE is also applied with the same.voidsetPassphrase(stringpsk)
Parameters
psk
string — Required
passphrase for WPA2-PSK or WPA3-SAE.
getPassphrase()
string? getPassphrase()
Get the passphrase.
Returns
string?
The return value is optional and might be absent.
passphrase.
setAuthMode()
Set thevoidsetAuthMode(com.amazon.kepler.net.wifi.common.AuthMode*authMode)
AuthMode of this Profile.
Parameters
authMode
com.amazon.kepler.net.wifi.common.AuthMode* — Required
AuthMode.
getAuthMode()
com.amazon.kepler.net.wifi.common.AuthMode getAuthMode()
Get the AuthMode.
Returns
com.amazon.kepler.net.wifi.common.AuthMode
AuthMode.
setHiddenSsid()
Enable or disable hidden SSID. Disabled by default.voidsetHiddenSsid(boolhidden)
Parameters
hidden
bool — Required
enable or disable hidden SSID, true to enable hiddne SSID.
isHiddenSsid()
bool isHiddenSsid()
Get whether the SSID is hidden.
Returns
bool
true if the SSID is hidden.
setBand()
set frequency band.voidsetBand(com.amazon.kepler.net.wifi.common.FrequencyBandband)
Parameters
band
com.amazon.kepler.net.wifi.common.FrequencyBand — Required
the frequency band.
getBand()
com.amazon.kepler.net.wifi.common.FrequencyBand getBand()
get frequency band.
Returns
com.amazon.kepler.net.wifi.common.FrequencyBand
FrequencyBand.
setChannel()
set channel.voidsetChannel(u16channel)
Parameters
channel
u16 — Required
channel.
getChannel()
u16 getChannel()
get channel.
Returns
u16
channel.
setBandwidth()
set channel bandwidth.voidsetBandwidth(com.amazon.kepler.net.wifi.common.Bandwidthbandwith)
Parameters
bandwith
com.amazon.kepler.net.wifi.common.Bandwidth — Required
channel bandwidth.
getBandwidth()
com.amazon.kepler.net.wifi.common.Bandwidth getBandwidth()
get channel bandwidth.
Returns
com.amazon.kepler.net.wifi.common.Bandwidth
Wi-Fi channel bandwidth.
setMaxClients()
Set max number of clients to support.voidsetMaxClients(u16clients)
Parameters
clients
u16 — Required
clients.
getMaxClients()
u16 getMaxClients()
Get the max number of clients to support.
Returns
u16
Wi-Fi channel.

