@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
KuraException
java.lang.String getManufacturer() throws KuraException
KuraException
java.lang.String getSerialNumber() throws KuraException
KuraException
java.lang.String getMobileSubscriberIdentity() throws KuraException
KuraException
java.lang.String getIntegratedCirquitCardId() throws KuraException
KuraException
java.lang.String getRevisionID() throws KuraException
KuraException
boolean isReachable() throws KuraException
KuraException
boolean isPortReachable(java.lang.String port)
port
- - modem's serial portvoid reset() throws KuraException
KuraException
int getSignalStrength() throws KuraException
KuraException
ModemRegistrationStatus getRegistrationStatus() throws KuraException
ModemRegistrationStatus
KuraException
long getCallTxCounter() throws KuraException
KuraException
long getCallRxCounter() throws KuraException
KuraException
java.lang.String getServiceType() throws KuraException
KuraException
ModemDevice getModemDevice()
UsbModemDevice
java.lang.String getDataPort() throws KuraException
KuraException
java.lang.String getAtPort() throws KuraException
KuraException
java.lang.String getGpsPort() throws KuraException
KuraException
CommURI getSerialConnectionProperties(CellularModem.SerialPortType portType) throws KuraException
KuraException
boolean isGpsSupported() throws KuraException
KuraException
boolean isGpsEnabled()
void enableGps() throws KuraException
KuraException
void disableGps() throws KuraException
KuraException
java.util.List<NetConfig> getConfiguration()
void setConfiguration(java.util.List<NetConfig> netConfigs)
java.util.List<ModemTechnologyType> getTechnologyTypes() throws KuraException
KuraException
@Deprecated ModemTechnologyType getTechnologyType()