com.eurotech.framework.net.admin.modem
Interface CellularModem

All Known Subinterfaces:
EvdoCellularModem, HspaCellularModem
All Known Implementing Classes:
SierraUsb598, TelitDe910, TelitHe910

public interface CellularModem


Method Summary
 String getAtPort()
           
 long getCallRxCounter()
          Reports number of bytes received during a call
 long getCallTxCounter()
          Reports number of bytes tarnsmitted during a call
 List<NetConfig> getConfiguration()
           
 String getDataPort()
           
 String getManufacturer()
          Returns modem's manufacturer identification
 String getModel()
          Reports modem's model
 ModemDevice getModemDevice()
          Returns the associated UsbModemDevice
 ModemRegistrationStatus getRegistrationStatus()
          Reports modem registration status
 String getRevisionID()
          Reports modem's revision identification
 String getSerialNumber()
          Answers modem's serial number
 String getServiceType()
          Reports Service Type
 int getSignalStrength()
          Reports signal strength in dBm
 ModemTechnologyType getTechnologyType()
           
 boolean isReachable()
           
 void reset()
          resets the modem and tries to restore the state of the modem driver.
 void setConfiguration(List<NetConfig> netConfigs)
           
 

Method Detail

getModel

String getModel()
                throws EsfException
Reports modem's model

Returns:
model, null if not known
Throws:
EsfException

getManufacturer

String getManufacturer()
                       throws EsfException
Returns modem's manufacturer identification

Returns:
manufacturer, null if not known
Throws:
EsfException

getSerialNumber

String getSerialNumber()
                       throws EsfException
Answers modem's serial number

Returns:
ESN, null if not known
Throws:
EsfException

getRevisionID

String getRevisionID()
                     throws EsfException
Reports modem's revision identification

Returns:
revision ID, null if not known
Throws:
EsfException

isReachable

boolean isReachable()
                    throws EsfException
Throws:
EsfException

reset

void reset()
           throws EsfException
resets the modem and tries to restore the state of the modem driver. (e.g. PPP connection, status thread)

Throws:
Exception
EsfException

getSignalStrength

int getSignalStrength()
                      throws EsfException
Reports signal strength in dBm

Returns:
signal strength
Throws:
Exception
EsfException

getRegistrationStatus

ModemRegistrationStatus getRegistrationStatus()
                                              throws EsfException
Reports modem registration status

Returns:
modem registration status as ModemRegistrationStatus
Throws:
Exception
EsfException

getCallTxCounter

long getCallTxCounter()
                      throws EsfException
Reports number of bytes tarnsmitted during a call

Returns:
number of bytes transmitted
Throws:
Exception
EsfException

getCallRxCounter

long getCallRxCounter()
                      throws EsfException
Reports number of bytes received during a call

Returns:
number of bytes received
Throws:
Exception
EsfException

getServiceType

String getServiceType()
                      throws EsfException
Reports Service Type

Returns:
service indication
Throws:
Exception
EsfException

getModemDevice

ModemDevice getModemDevice()
Returns the associated UsbModemDevice

Returns:
UsbModemDevice

getDataPort

String getDataPort()
                   throws EsfException
Throws:
EsfException

getAtPort

String getAtPort()
                 throws EsfException
Throws:
EsfException

getConfiguration

List<NetConfig> getConfiguration()

setConfiguration

void setConfiguration(List<NetConfig> netConfigs)

getTechnologyType

ModemTechnologyType getTechnologyType()


Copyright © 2013. All Rights Reserved.