Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IHostapInfo

interface IHostapInfo
Extends com.amazon.apmf.IStandard Represents an Hostap.

Methods

setSsid()

void setSsid(string ssid)
Set Service Set Identifier (SSID). A valid SSID is 0-32 octets with UTF-8 encoding.

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()

void setPassphrase(string psk)
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.

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()

void setAuthMode(com.amazon.kepler.net.wifi.common.AuthMode* authMode)
Set the 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()

void setHiddenSsid(bool hidden)
Enable or disable hidden SSID. Disabled by default.

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()

void setBand(com.amazon.kepler.net.wifi.common.FrequencyBand band)
set frequency band.

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()

void setChannel(u16 channel)
set channel.

Parameters

channel
u16 — Required channel.

getChannel()

u16 getChannel()
get channel.

Returns

u16 channel.

setBandwidth()

void setBandwidth(com.amazon.kepler.net.wifi.common.Bandwidth bandwith)
set channel bandwidth.

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()

void setMaxClients(u16 clients)
Set max number of clients to support.

Parameters

clients
u16 — Required clients.

getMaxClients()

u16 getMaxClients()
Get the max number of clients to support.

Returns

u16 Wi-Fi channel.
Last modified on October 29, 2026