@ProviderType
public interface CellularModem
| Modifier and Type | Interface and Description |
|---|---|
static class |
CellularModem.SerialPortType |
| Modifier and Type | Method and Description |
|---|---|
void |
disableDiversity() |
void |
disableGps() |
void |
enableDiversity() |
void |
enableGps() |
java.lang.String |
getAtPort() |
java.lang.String |
getBand() |
long |
getCallRxCounter()
Reports number of bytes received during a call
|
long |
getCallTxCounter()
Reports number of bytes transmitted during a call
|
java.lang.String |
getCI() |
java.util.List<NetConfig> |
getConfiguration() |
java.lang.String |
getDataPort() |
java.lang.String |
getFirmwareVersion()
Return the firmware version of the modem module
|
java.lang.String |
getGpsPort() |
java.lang.String |
getIntegratedCirquitCardId()
Deprecated.
since 2.4. Use
getIntegratedCirquitCardId(boolean recompute) instead. |
java.lang.String |
getIntegratedCirquitCardId(boolean recompute)
Answers Integrated Circuit Card Identification (ICCID)
|
java.lang.String |
getLAC() |
java.lang.String |
getManufacturer()
Returns modem's manufacturer identification
|
java.lang.String |
getMobileSubscriberIdentity()
Deprecated.
since 2.4. Use
getMobileSubscriberIdentity(boolean recompute) instead. |
java.lang.String |
getMobileSubscriberIdentity(boolean recompute)
Answers International Mobile Subscribe Identity (IMSI)
|
java.lang.String |
getModel()
Reports modem's model
|
ModemDevice |
getModemDevice()
Returns the associated UsbModemDevice
|
java.lang.String |
getNetworkName() |
java.util.List<ModemPdpContext> |
getPdpContextInfo() |
java.lang.String |
getPLMNID() |
java.lang.String |
getRadio() |
ModemRegistrationStatus |
getRegistrationStatus()
Deprecated.
since 2.4. Use
getRegistrationStatus(boolean recompute) instead. |
ModemRegistrationStatus |
getRegistrationStatus(boolean recompute)
Reports modem registration status
|
java.lang.String |
getRevisionID()
Reports modem's revision identification
|
CommURI |
getSerialConnectionProperties(CellularModem.SerialPortType portType) |
java.lang.String |
getSerialNumber()
Answers modem's serial number (IMEI/MEID/ESN)
|
java.lang.String |
getServiceType()
Reports Service Type
|
int |
getSignalStrength()
Deprecated.
since 2.4. Use
getSignalStrength(boolean recompute) instead. |
int |
getSignalStrength(boolean recompute)
Reports signal strength in dBm
|
java.util.List<ModemTechnologyType> |
getTechnologyTypes() |
boolean |
hasDiversityAntenna() |
boolean |
isDiversityEnabled() |
boolean |
isGpsEnabled() |
boolean |
isGpsSupported() |
boolean |
isPortReachable(java.lang.String port)
Reports if specified port can be opened
|
boolean |
isReachable()
Reports if Modem replies to the 'AT' command
|
void |
reset()
resets the modem and tries to restore the state
of the modem driver.
|
void |
setConfiguration(java.util.List<NetConfig> netConfigs) |
java.lang.String getModel()
throws KuraException
KuraExceptionjava.lang.String getManufacturer()
throws KuraException
KuraExceptionjava.lang.String getSerialNumber()
throws KuraException
KuraException@Deprecated
java.lang.String getMobileSubscriberIdentity()
throws KuraException
getMobileSubscriberIdentity(boolean recompute) instead.KuraException@Deprecated
java.lang.String getIntegratedCirquitCardId()
throws KuraException
getIntegratedCirquitCardId(boolean recompute) instead.KuraExceptionjava.lang.String getRevisionID()
throws KuraException
KuraExceptionboolean isReachable()
throws KuraException
KuraExceptionboolean isPortReachable(java.lang.String port)
port - - modem's serial portvoid reset()
throws KuraException
KuraException@Deprecated
int getSignalStrength()
throws KuraException
getSignalStrength(boolean recompute) instead.KuraException@Deprecated ModemRegistrationStatus getRegistrationStatus() throws KuraException
getRegistrationStatus(boolean recompute) instead.ModemRegistrationStatusKuraExceptionlong getCallTxCounter()
throws KuraException
KuraExceptionlong getCallRxCounter()
throws KuraException
KuraExceptionjava.lang.String getServiceType()
throws KuraException
KuraExceptionModemDevice getModemDevice()
UsbModemDevicejava.lang.String getLAC()
throws KuraException
KuraExceptionjava.lang.String getCI()
throws KuraException
KuraExceptionjava.lang.String getPLMNID()
throws KuraException
KuraExceptionjava.lang.String getBand()
throws KuraException
KuraExceptionjava.lang.String getNetworkName()
throws KuraException
KuraExceptionjava.lang.String getRadio()
throws KuraException
KuraExceptionjava.lang.String getDataPort()
throws KuraException
KuraExceptionjava.lang.String getAtPort()
throws KuraException
KuraExceptionjava.lang.String getGpsPort()
throws KuraException
KuraExceptionCommURI getSerialConnectionProperties(CellularModem.SerialPortType portType) throws KuraException
KuraExceptionboolean isGpsSupported()
throws KuraException
KuraExceptionboolean isGpsEnabled()
void enableGps()
throws KuraException
KuraExceptionvoid disableGps()
throws KuraException
KuraExceptionboolean hasDiversityAntenna()
boolean isDiversityEnabled()
void enableDiversity()
throws KuraException
KuraExceptionvoid disableDiversity()
throws KuraException
KuraExceptionjava.util.List<NetConfig> getConfiguration()
void setConfiguration(java.util.List<NetConfig> netConfigs)
java.util.List<ModemTechnologyType> getTechnologyTypes() throws KuraException
KuraExceptionjava.util.List<ModemPdpContext> getPdpContextInfo() throws KuraException
KuraExceptionjava.lang.String getFirmwareVersion()
throws KuraException
KuraExceptionint getSignalStrength(boolean recompute)
throws KuraException
recompute: - if true the value is recomputed. Otherwise, a cached value is returnedKuraExceptionModemRegistrationStatus getRegistrationStatus(boolean recompute) throws KuraException
recompute: - if true the value is recomputed. Otherwise, a cached value is returnedModemRegistrationStatusKuraExceptionjava.lang.String getMobileSubscriberIdentity(boolean recompute)
throws KuraException
recompute: - if true the value is recomputed. Otherwise, a cached value is returnedKuraExceptionjava.lang.String getIntegratedCirquitCardId(boolean recompute)
throws KuraException
recompute: - if true the value is recomputed. Otherwise, a cached value is returnedKuraException