com.esf.device.modem.service
Interface ICellularModemService

All Known Subinterfaces:
I3gModemService, IEvdoModemService, IMC572xModemService, IModemService
All Known Implementing Classes:
CellularModem, UsbModem

public interface ICellularModemService


Method Summary
 void disable()
          disables modem
 void enable()
          enables modem
 java.lang.String getManufacturer()
          Returns modem's manufacturer identification
 java.lang.String getModel()
          Reports modem's model
 java.lang.String[] getRevisionID()
          Reports modem's revision identification
 java.lang.String getSerialNumber()
          Answers modem's serial number
 boolean isEnabled()
          Answers if cellular modem is enabled by application
default value is set to true
 boolean isOn()
          Answers if modem is on
 

Method Detail

getModel

java.lang.String getModel()
Reports modem's model

Returns:
model, null if not known

getManufacturer

java.lang.String getManufacturer()
Returns modem's manufacturer identification

Returns:
manufacturer, null if not known

getSerialNumber

java.lang.String getSerialNumber()
Answers modem's serial number

Returns:
ESN, null if not known

getRevisionID

java.lang.String[] getRevisionID()
Reports modem's revision identification

Returns:
array of revision ID's, null if not known

isOn

boolean isOn()
Answers if modem is on

Returns:
true - modem is on
false - modem is off

enable

void enable()
enables modem


disable

void disable()
disables modem


isEnabled

boolean isEnabled()
Answers if cellular modem is enabled by application
default value is set to true

Returns:
true - modem is enabled
false - modem is disabled