com.eurotech.framework.net.admin.modem.sierra.usb598
Class SierraUsb598

java.lang.Object
  extended by com.eurotech.framework.net.admin.modem.sierra.usb598.SierraUsb598
All Implemented Interfaces:
CellularModem, EvdoCellularModem

public class SierraUsb598
extends Object
implements EvdoCellularModem


Constructor Summary
SierraUsb598(ModemDevice device, org.osgi.service.io.ConnectionFactory connectionFactory, ModemTechnologyType technologyType)
          SierraUsb598 modem constructor
 
Method Summary
 void bind()
           
 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 getMobileDirectoryNumber()
           
 String getMobileIdentificationNumber()
           
 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
 ModemCdmaServiceProvider getServiceProvider()
           
 String getServiceType()
          Reports Service Type
 int getSignalStrength()
          Reports signal strength in dBm
 ModemTechnologyType getTechnologyType()
           
 boolean isProvisioned()
           
 boolean isReachable()
           
 void provision()
           
 void reset()
          resets the modem and tries to restore the state of the modem driver.
 void setConfiguration(List<NetConfig> netConfigs)
           
 void unbind()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SierraUsb598

public SierraUsb598(ModemDevice device,
                    org.osgi.service.io.ConnectionFactory connectionFactory,
                    ModemTechnologyType technologyType)
SierraUsb598 modem constructor

Parameters:
usbDevice - - modem USB device as UsbModemDevice
connectionFactory - - connection factory as ConnectionFactory
technologyType - - cellular technology type as ModemTechnologyType
Method Detail

bind

public void bind()

unbind

public void unbind()

getModel

public String getModel()
                throws EsfException
Description copied from interface: CellularModem
Reports modem's model

Specified by:
getModel in interface CellularModem
Returns:
model, null if not known
Throws:
EsfException

getManufacturer

public String getManufacturer()
                       throws EsfException
Description copied from interface: CellularModem
Returns modem's manufacturer identification

Specified by:
getManufacturer in interface CellularModem
Returns:
manufacturer, null if not known
Throws:
EsfException

getSerialNumber

public String getSerialNumber()
                       throws EsfException
Description copied from interface: CellularModem
Answers modem's serial number

Specified by:
getSerialNumber in interface CellularModem
Returns:
ESN, null if not known
Throws:
EsfException

getRevisionID

public String getRevisionID()
                     throws EsfException
Description copied from interface: CellularModem
Reports modem's revision identification

Specified by:
getRevisionID in interface CellularModem
Returns:
revision ID, null if not known
Throws:
EsfException

isReachable

public boolean isReachable()
                    throws EsfException
Specified by:
isReachable in interface CellularModem
Throws:
EsfException

reset

public void reset()
           throws EsfException
Description copied from interface: CellularModem
resets the modem and tries to restore the state of the modem driver. (e.g. PPP connection, status thread)

Specified by:
reset in interface CellularModem
Throws:
EsfException

getSignalStrength

public int getSignalStrength()
                      throws EsfException
Description copied from interface: CellularModem
Reports signal strength in dBm

Specified by:
getSignalStrength in interface CellularModem
Returns:
signal strength
Throws:
EsfException

getRegistrationStatus

public ModemRegistrationStatus getRegistrationStatus()
                                              throws EsfException
Description copied from interface: CellularModem
Reports modem registration status

Specified by:
getRegistrationStatus in interface CellularModem
Returns:
modem registration status as ModemRegistrationStatus
Throws:
EsfException

getCallTxCounter

public long getCallTxCounter()
                      throws EsfException
Description copied from interface: CellularModem
Reports number of bytes tarnsmitted during a call

Specified by:
getCallTxCounter in interface CellularModem
Returns:
number of bytes transmitted
Throws:
EsfException

getCallRxCounter

public long getCallRxCounter()
                      throws EsfException
Description copied from interface: CellularModem
Reports number of bytes received during a call

Specified by:
getCallRxCounter in interface CellularModem
Returns:
number of bytes received
Throws:
EsfException

getServiceType

public String getServiceType()
                      throws EsfException
Description copied from interface: CellularModem
Reports Service Type

Specified by:
getServiceType in interface CellularModem
Returns:
service indication
Throws:
EsfException

getModemDevice

public ModemDevice getModemDevice()
Description copied from interface: CellularModem
Returns the associated UsbModemDevice

Specified by:
getModemDevice in interface CellularModem
Returns:
UsbModemDevice

getDataPort

public String getDataPort()
                   throws EsfException
Specified by:
getDataPort in interface CellularModem
Throws:
EsfException

getAtPort

public String getAtPort()
                 throws EsfException
Specified by:
getAtPort in interface CellularModem
Throws:
EsfException

isProvisioned

public boolean isProvisioned()
                      throws EsfException
Specified by:
isProvisioned in interface EvdoCellularModem
Throws:
EsfException

provision

public void provision()
               throws EsfException
Specified by:
provision in interface EvdoCellularModem
Throws:
EsfException

getMobileDirectoryNumber

public String getMobileDirectoryNumber()
                                throws EsfException
Specified by:
getMobileDirectoryNumber in interface EvdoCellularModem
Throws:
EsfException

getMobileIdentificationNumber

public String getMobileIdentificationNumber()
                                     throws EsfException
Specified by:
getMobileIdentificationNumber in interface EvdoCellularModem
Throws:
EsfException

getConfiguration

public List<NetConfig> getConfiguration()
Specified by:
getConfiguration in interface CellularModem

setConfiguration

public void setConfiguration(List<NetConfig> netConfigs)
Specified by:
setConfiguration in interface CellularModem

getTechnologyType

public ModemTechnologyType getTechnologyType()
Specified by:
getTechnologyType in interface CellularModem

getServiceProvider

public ModemCdmaServiceProvider getServiceProvider()
Specified by:
getServiceProvider in interface EvdoCellularModem


Copyright © 2013. All Rights Reserved.