public interface ICellularModemService extends IBasicCellularModemService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVICE_NAME
service name of this interface for the bundle activator
(com.arcom.zywan.device.modem.service.IModemService)
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyNewConfiguration(java.util.Properties prop)
service name of this interface for the bundle activator
(com.arcom.zywan.device.modem.service.IModemService)
|
void |
connect()
Establishes connection with service provider by starting PPP session
|
void |
disconnect()
Terminates connection with service provider by stopping PPP session
|
long |
getCallRxCounter()
Reports number of bytes received during a call
|
long |
getCallTxCounter()
Reports number of bytes tarnsmitted during a call
|
ModemConnectionInfo |
getConnectionInfo()
Reports modem connection information
|
java.lang.String |
getGatewayIpAddress()
Reports gateway IP address
|
java.lang.String |
getIfaceName()
Reports name of network interface
|
java.lang.String |
getIPaddress()
Reports IP address assigned to cellular interface
|
java.lang.String |
getNetworkTechnology()
Reports network technology (e.g. evdo, HSDPA)
|
java.lang.String |
getPowerMode()
Answers modem's power mode.
|
java.lang.String |
getServiceType()
Reports Service Type
|
int |
getSignalStrength()
Reports signal strength in dBm
|
boolean |
isConnected()
Answers if connection to the service provider is established
|
boolean |
isConnecting()
Reports if modem connection is in progress
|
boolean |
isEnabledInConfiguration(boolean reportError)
Reports if modem is enabled in configuration
|
boolean |
isRoaming()
Reports roaming status
|
ModemConfiguration |
provideConfiguration()
Provides current modem configuration
|
void |
reset()
resets the modem and tries to restore the state
of the modem driver.
|
void |
turnOff()
Turns modem off
|
void |
turnOn()
Turns modem on
|
allowConnect, disable, enable, getManufacturer, getModel, getRevisionID, getSerialNumber, isConnectAllowed, isEnabled, isOnstatic final java.lang.String SERVICE_NAME
ModemConnectionInfo getConnectionInfo()
ModemConnectionInfoModemConfiguration provideConfiguration() throws java.lang.Exception
ModemConfigurationjava.lang.Exceptionvoid applyNewConfiguration(java.util.Properties prop)
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getNetworkTechnology()
Stringvoid turnOn()
throws java.lang.Exception
java.lang.Exceptionvoid turnOff()
throws java.lang.Exception
java.lang.Exceptionvoid reset()
throws java.lang.Exception
java.lang.Exceptionvoid connect()
throws java.lang.Exception
java.lang.Exceptionvoid disconnect()
throws java.lang.Exception
java.lang.Exceptionboolean isConnected()
throws java.lang.Exception
java.lang.Exceptionboolean isConnecting()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getPowerMode()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getIfaceName()
Stringjava.lang.String getIPaddress()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getGatewayIpAddress()
throws java.lang.Exception
java.lang.Exceptionint getSignalStrength()
throws java.lang.Exception
java.lang.Exceptionboolean isRoaming()
throws java.lang.Exception
java.lang.Exceptionlong getCallTxCounter()
throws java.lang.Exception
java.lang.Exceptionlong getCallRxCounter()
throws java.lang.Exception
java.lang.Exceptionjava.lang.String getServiceType()
throws java.lang.Exception
java.lang.Exceptionboolean isEnabledInConfiguration(boolean reportError)
booleanCopyright © 2009 Eurotech Inc. All rights reserved.