|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.linux.net.wifi.Hostapd
public class Hostapd
Defines hostapd AP mode tool
| Method Summary | |
|---|---|
void |
disable()
Stops hostapd |
void |
enable()
Launches hostapd |
boolean |
equals(Object obj)
|
int |
getChannel()
Get the channel |
static String |
getConfigFilename()
|
String |
getDriver()
Get the driver |
static Hostapd |
getHostapd()
|
static Hostapd |
getHostapd(String iface,
String driver,
String essid,
WifiRadioMode radioMode,
int channel,
WifiSecurity security,
String password)
Hostapd constructor |
String |
getInterface()
Get the interface name |
String |
getPassword()
Get the password |
WifiRadioMode |
getRadioMode()
Get the radio mode |
WifiSecurity |
getSecurity()
Get the security type |
String |
getSSID()
Get the SSID |
static boolean |
hasInstanceRunning()
Reports if there is an instance of hostapd running |
boolean |
isEnabled()
Reports if hostapd is running |
static void |
killAll()
Stops all instances of hostapd |
void |
saveConfig()
Save the current values to the config file |
void |
setChannel(int channel)
Set the channel |
void |
setDriver(String driver)
Set the driver |
void |
setInterface(String iface)
Set the interface name |
void |
setPassword(String password)
Set the password |
void |
setRadioMode(WifiRadioMode radioMode)
Set the radio mode |
void |
setSecurity(WifiSecurity security)
Set the security type |
void |
setSSID(String essid)
Set the SSID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Hostapd getHostapd()
throws EsfException
EsfException
public static Hostapd getHostapd(String iface,
String driver,
String essid,
WifiRadioMode radioMode,
int channel,
WifiSecurity security,
String password)
iface - - interface name as Stringdriver - - driver as Stringessid - - SSID as StringhwMode - - hardware mode as channel - - channel as securityType - - security type as password - - password as public boolean equals(Object obj)
equals in class Objectpublic String getInterface()
public void setInterface(String iface)
public String getDriver()
public void setDriver(String driver)
public String getSSID()
public void setSSID(String essid)
public WifiRadioMode getRadioMode()
public void setRadioMode(WifiRadioMode radioMode)
public int getChannel()
public void setChannel(int channel)
public WifiSecurity getSecurity()
public void setSecurity(WifiSecurity security)
public String getPassword()
public void setPassword(String password)
public void saveConfig()
throws EsfException
EsfException
public void enable()
throws EsfException
Exception
EsfException
public void disable()
throws EsfException
Exception
EsfException
public static void killAll()
throws EsfException
Exception
EsfException
public boolean isEnabled()
throws EsfException
boolean
EsfException
public static boolean hasInstanceRunning()
throws EsfException
boolean
EsfExceptionpublic static String getConfigFilename()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||