com.esf.device.wifi.service
Interface IWifiDeviceService

All Superinterfaces:
INetworkDeviceService

public interface IWifiDeviceService
extends INetworkDeviceService


Field Summary
static java.lang.String SERVICE_NAME
          Reports the class name representing this interface.
static int WIFI_ADHOC_SECURITY_TYPE_NONE
           
static java.lang.String WIFI_MANAGED_DRIVER_ATMEL
           
static java.lang.String WIFI_MANAGED_DRIVER_HOSTAP
           
static java.lang.String WIFI_MANAGED_DRIVER_WEXT
           
static java.lang.String WIFI_MANAGED_DRIVER_WIRED
           
static int WIFI_MODE_ADHOC
           
static int WIFI_MODE_DISABLED
           
static int WIFI_MODE_MANAGED
           
static int WIFI_MODE_MASTER
           
static int WIFI_SECURITY_TYPE_NONE
           
static int WIFI_SECURITY_TYPE_WEP
           
static int WIFI_SECURITY_TYPE_WEP_128BIT_OPEN
           
static int WIFI_SECURITY_TYPE_WEP_128BIT_SHARED
           
static int WIFI_SECURITY_TYPE_WEP_152BIT_OPEN
           
static int WIFI_SECURITY_TYPE_WEP_152BIT_SHARED
           
static int WIFI_SECURITY_TYPE_WEP_64BIT_OPEN
           
static int WIFI_SECURITY_TYPE_WEP_64BIT_SHARED
           
static int WIFI_SECURITY_TYPE_WPA
           
static int WIFI_SECURITY_TYPE_WPA_AES
           
static int WIFI_SECURITY_TYPE_WPA_TKIP
           
static int WIFI_SECURITY_TYPE_WPA2
           
static int WIFI_SECURITY_TYPE_WPA2_AES
           
static int WIFI_SECURITY_TYPE_WPA2_TKIP
           
 
Fields inherited from interface com.esf.device.network.service.INetworkDeviceService
TYPE_DHCP, TYPE_NULL, TYPE_STATIC
 
Method Summary
 java.lang.String getIfaceName()
           
 int getWifiChannel()
           
 java.lang.String getWifiEssid()
           
 int getWifiMode()
           
 java.lang.String getWifiSecurityPassword()
           
 int getWifiSecurityType()
           
 boolean isWifiDeviceAvailable()
           
 void setWifi(int mode, java.lang.String essid, int channel, int securityType, java.lang.String password)
           
 void setWifiChannel(int channel)
           
 void setWifiEssid(java.lang.String essid)
           
 void setWifiMode(int mode)
           
 void setWifiSecurityPassword(java.lang.String password)
           
 void setWifiSecurityType(int securityType)
           
 
Methods inherited from interface com.esf.device.network.service.INetworkDeviceService
bringInterfaceDown, bringInterfaceDown, bringInterfaceUp, bringInterfaceUp, getBroadcast, getGateway, getIfaceNames, getIpAddress, getMacAddress, getNetmask, getNetwork, getParameters, getPrimaryDns, getSecondaryDns, getType, isIfaceUp, setBroadcast, setGateway, setIpAddress, setNetmask, setNetwork, setPrimaryDns, setSecondaryDns, setToDhcp, setToNull, setToStatic
 

Field Detail

SERVICE_NAME

static final java.lang.String SERVICE_NAME
Reports the class name representing this interface.


WIFI_MODE_ADHOC

static final int WIFI_MODE_ADHOC
See Also:
Constant Field Values

WIFI_MODE_MANAGED

static final int WIFI_MODE_MANAGED
See Also:
Constant Field Values

WIFI_MODE_MASTER

static final int WIFI_MODE_MASTER
See Also:
Constant Field Values

WIFI_MODE_DISABLED

static final int WIFI_MODE_DISABLED
See Also:
Constant Field Values

WIFI_ADHOC_SECURITY_TYPE_NONE

static final int WIFI_ADHOC_SECURITY_TYPE_NONE
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_NONE

static final int WIFI_SECURITY_TYPE_NONE
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP

static final int WIFI_SECURITY_TYPE_WEP
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA

static final int WIFI_SECURITY_TYPE_WPA
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA_TKIP

static final int WIFI_SECURITY_TYPE_WPA_TKIP
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA_AES

static final int WIFI_SECURITY_TYPE_WPA_AES
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA2

static final int WIFI_SECURITY_TYPE_WPA2
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA2_TKIP

static final int WIFI_SECURITY_TYPE_WPA2_TKIP
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WPA2_AES

static final int WIFI_SECURITY_TYPE_WPA2_AES
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_64BIT_OPEN

static final int WIFI_SECURITY_TYPE_WEP_64BIT_OPEN
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_64BIT_SHARED

static final int WIFI_SECURITY_TYPE_WEP_64BIT_SHARED
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_128BIT_OPEN

static final int WIFI_SECURITY_TYPE_WEP_128BIT_OPEN
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_128BIT_SHARED

static final int WIFI_SECURITY_TYPE_WEP_128BIT_SHARED
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_152BIT_OPEN

static final int WIFI_SECURITY_TYPE_WEP_152BIT_OPEN
See Also:
Constant Field Values

WIFI_SECURITY_TYPE_WEP_152BIT_SHARED

static final int WIFI_SECURITY_TYPE_WEP_152BIT_SHARED
See Also:
Constant Field Values

WIFI_MANAGED_DRIVER_WEXT

static final java.lang.String WIFI_MANAGED_DRIVER_WEXT
See Also:
Constant Field Values

WIFI_MANAGED_DRIVER_HOSTAP

static final java.lang.String WIFI_MANAGED_DRIVER_HOSTAP
See Also:
Constant Field Values

WIFI_MANAGED_DRIVER_ATMEL

static final java.lang.String WIFI_MANAGED_DRIVER_ATMEL
See Also:
Constant Field Values

WIFI_MANAGED_DRIVER_WIRED

static final java.lang.String WIFI_MANAGED_DRIVER_WIRED
See Also:
Constant Field Values
Method Detail

isWifiDeviceAvailable

boolean isWifiDeviceAvailable()

setWifi

void setWifi(int mode,
             java.lang.String essid,
             int channel,
             int securityType,
             java.lang.String password)
             throws java.lang.Exception
Throws:
java.lang.Exception

setWifiMode

void setWifiMode(int mode)
                 throws java.lang.Exception
Throws:
java.lang.Exception

setWifiEssid

void setWifiEssid(java.lang.String essid)

setWifiChannel

void setWifiChannel(int channel)
                    throws java.lang.Exception
Throws:
java.lang.Exception

setWifiSecurityType

void setWifiSecurityType(int securityType)
                         throws java.lang.Exception
Throws:
java.lang.Exception

setWifiSecurityPassword

void setWifiSecurityPassword(java.lang.String password)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getWifiMode

int getWifiMode()

getWifiEssid

java.lang.String getWifiEssid()

getWifiChannel

int getWifiChannel()

getWifiSecurityType

int getWifiSecurityType()

getWifiSecurityPassword

java.lang.String getWifiSecurityPassword()

getIfaceName

java.lang.String getIfaceName()