@ProviderType
public interface CellularModem
| Modifier and Type | Interface and Description |
|---|---|
static class |
CellularModem.SerialPortType |
| Modifier and Type | Method and Description |
|---|---|
void |
disableGps() |
void |
enableGps() |
java.lang.String |
getAtPort() |
long |
getCallRxCounter()
Reports number of bytes received during a call
|
long |
getCallTxCounter()
Reports number of bytes tarnsmitted during a call
|
java.util.List<NetConfig> |
getConfiguration() |
java.lang.String |
getDataPort() |
java.lang.String |
getGpsPort() |
java.lang.String |
getIntegratedCirquitCardId()
Answers Integrated Circuit Card Identification (ICCID)
|
java.lang.String |
getManufacturer()
Returns modem's manufacturer identification
|
java.lang.String |
getMobileSubscriberIdentity()
Answers International Mobile Subscribe Identity (IMSI)
|
java.lang.String |
getModel()
Reports modem's model
|
ModemDevice |
getModemDevice()
Returns the associated UsbModemDevice
|
ModemRegistrationStatus |
getRegistrationStatus()
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()
Reports signal strength in dBm
|
ModemTechnologyType |
getTechnologyType()
Deprecated.
|
java.util.List<ModemTechnologyType> |
getTechnologyTypes() |
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
KuraExceptionjava.lang.String getMobileSubscriberIdentity()
throws KuraException
KuraExceptionjava.lang.String getIntegratedCirquitCardId()
throws KuraException
KuraExceptionjava.lang.String getRevisionID()
throws KuraException
KuraExceptionboolean isReachable()
throws KuraException
KuraExceptionboolean isPortReachable(java.lang.String port)
port - - modem's serial portvoid reset()
throws KuraException
KuraExceptionint getSignalStrength()
throws KuraException
KuraExceptionModemRegistrationStatus getRegistrationStatus() throws KuraException
ModemRegistrationStatusKuraExceptionlong getCallTxCounter()
throws KuraException
KuraExceptionlong getCallRxCounter()
throws KuraException
KuraExceptionjava.lang.String getServiceType()
throws KuraException
KuraExceptionModemDevice getModemDevice()
UsbModemDevicejava.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
KuraExceptionjava.util.List<NetConfig> getConfiguration()
void setConfiguration(java.util.List<NetConfig> netConfigs)
java.util.List<ModemTechnologyType> getTechnologyTypes() throws KuraException
KuraException@Deprecated ModemTechnologyType getTechnologyType()